vimrc: add ifndef tmpl mapping
This commit is contained in:
parent
77d6e5ee3a
commit
3900620751
@ -457,6 +457,9 @@ nnoremap <c-LeftMouse> :ALEGoToDefinition<cr>
|
|||||||
" [bro]wse [ol]d files
|
" [bro]wse [ol]d files
|
||||||
nnoremap <leader>r :bro ol<cr>
|
nnoremap <leader>r :bro ol<cr>
|
||||||
|
|
||||||
|
" easy-way ifndef tmpl
|
||||||
|
nnoremap <silent><f12> "%phr_I#ifndef __<Esc>gUwyypldwidefine <Esc>yypldwiendif //<Esc>O<Esc>
|
||||||
|
|
||||||
|
|
||||||
"------------------------------------
|
"------------------------------------
|
||||||
" vim-go.vim
|
" vim-go.vim
|
||||||
|
Loading…
Reference in New Issue
Block a user