Update vimplus

This commit is contained in:
chxuan 2016-06-08 17:00:45 +08:00
parent c52b576678
commit a0ca4bdf0e
2 changed files with 5 additions and 5 deletions

4
.vimrc
View File

@ -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

View File

@ -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>`