update vimrc

This commit is contained in:
chxuan 2018-06-15 22:59:42 +08:00
parent a23f605ef5
commit eeccdee5fe

4
.vimrc
View File

@ -194,8 +194,8 @@ let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
" cpp-mode
nnoremap <leader>y :CopyFun<cr>
nnoremap <leader>p :PasteFun<cr>
nnoremap <leader>y :CopyCode<cr>
nnoremap <leader>p :PasteCode<cr>
nnoremap <leader>U :GoToDefinition<cr>
nnoremap <silent> <leader>a :Switch<cr>
nnoremap <leader><leader>fp :FormatFunParam<cr>