Update vimplus
This commit is contained in:
parent
c52b576678
commit
a0ca4bdf0e
4
.vimrc
4
.vimrc
@ -157,10 +157,10 @@ let g:ycm_seed_identifiers_with_syntax = 1
|
||||
let g:ycm_complete_in_comments = 1
|
||||
let g:ycm_complete_in_strings = 1
|
||||
"let g:ycm_cache_omnifunc = 0
|
||||
let mapleader = "f"
|
||||
nnoremap <leader>o :YcmCompleter GoToInclude<CR>
|
||||
let mapleader = ","
|
||||
nnoremap <leader>u :YcmCompleter GoToDeclaration<CR>
|
||||
nnoremap <leader>i :YcmCompleter GoToDefinition<CR>
|
||||
nnoremap <leader>o :YcmCompleter GoToInclude<CR>
|
||||
nmap <F5> :YcmDiags<CR>
|
||||
|
||||
" a.vim: .h -> .cpp or .cpp -> .h
|
||||
|
||||
@ -95,9 +95,9 @@ Shortcuts
|
||||
- Display functions, global variables, macro definitions `<F4>`
|
||||
- Display static code analysis `<F5>`
|
||||
- .h .cpp file quickly switch `<F2>`
|
||||
- Go to declaration `<f + u>`
|
||||
- Go to definition `<f + i>`
|
||||
- Open the include file `<f + o>`
|
||||
- Go to declaration `<, + u>`
|
||||
- Go to definition `<, + i>`
|
||||
- Open the include file `<, + o>`
|
||||
- Buffer switch `<Ctrl + P/Ctrl + N>`
|
||||
- Cursor position switch `<Ctrl + O/Ctrl + I>`
|
||||
- Fuzzy Find File `<Ctrl + f>`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user