.vimrc

changeset 949
cb33f9050d24
parent 948
92cb1b3e285a
child 953
e033f9ce0d8c
equal deleted inserted replaced
948:92cb1b3e285a 949:cb33f9050d24
76 76
77 " chdir to the directory of the open buffer 77 " chdir to the directory of the open buffer
78 noremap <leader>cd :cd %:p:h<cr>:pwd<cr> 78 noremap <leader>cd :cd %:p:h<cr>:pwd<cr>
79 79
80 noremap <leader>pp :setlocal paste!<cr> 80 noremap <leader>pp :setlocal paste!<cr>
81
82 noremap <leader>cc :MUcompleteAutoToggle<cr>
81 83
82 " faster window nav 84 " faster window nav
83 nnoremap <C-h> <C-w>h 85 nnoremap <C-h> <C-w>h
84 nnoremap <C-j> <C-w>j 86 nnoremap <C-j> <C-w>j
85 nnoremap <C-k> <C-w>k 87 nnoremap <C-k> <C-w>k
348 let g:netrw_use_errorwindow = 0 350 let g:netrw_use_errorwindow = 0
349 351
350 ">> mucomplete 352 ">> mucomplete
351 " enable and prefer local buffer before tags 353 " enable and prefer local buffer before tags
352 let g:mucomplete#enable_auto_at_startup = 1 354 let g:mucomplete#enable_auto_at_startup = 1
355 let g:mucomplete#completion_delay = 300
353 let g:mucomplete#chains = { 356 let g:mucomplete#chains = {
354 \ 'default': ['path', 'c-n', 'omni', 'tags', 'dict', 'uspl'], 357 \ 'default': ['path', 'c-n', 'omni', 'tags', 'dict', 'uspl'],
355 \} 358 \}
356 359
357 ">> vim-lsp 360 ">> vim-lsp

mercurial