Skip to content

Commit

Permalink
Update vimplus
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed Jun 8, 2016
1 parent c52b576 commit a0ca4bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>`
Expand Down

0 comments on commit a0ca4bd

Please sign in to comment.