-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugins.vim
43 lines (34 loc) · 1.22 KB
/
plugins.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
let MRU_Max_Entries = 400
map <leader>f :MRU<CR>
let g:ctrlp_working_path_mode = 0
let g:ctrlp_map = '<c-f>'
map <leader>j :CtrlP<cr>
map <c-b> :CtrlPBuffer<cr>
let g:ctrlp_max_height = 20
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'
let g:NERDTreeWinPos = "right"
let NERDTreeShowHidden=0
let NERDTreeIgnore = ['\.pyc$', '__pycache__']
let g:NERDTreeWinSize=35
map <leader>nn :NERDTreeToggle<cr>
map <leader>nb :NERDTreeFromBookmark<Space>
map <leader>nf :NERDTreeFind<cr>
autocmd vimenter * NERDTree
let g:jsx_ext_required = 0
let g:vim_jsx_pretty_colorful_config = 1
let g:ycm_min_num_of_chars_for_completion = 3
let g:ycm_min_num_identifier_candidate_chars = 3
let g:ycm_enable_diagnostic_highlighting = 0
" Javascripty things
let g:prettier#autoformat = 0
" autocmd BufWritePre *.js,*.css,*.scss,*.json PrettierAsync
nmap :prty :Prettier<cr>
nmap ,p :Prettier<cr>
let g:prettier#config#single_quote = 'false'
let g:prettier#config#bracket_spacing = 'true'
let g:prettier#config#jsx_bracket_same_line = 'false'
let g:prettier#config#trailing_comma = 'none'
let g:prettier#config#parser = 'babylon'
let g:used_javascript_libs = 'react'
let g:xml_syntax_folding = 0
nnoremap K :Ag <C-r>=expand('<cword>')<CR>