vimrc: add ifndef tmpl mapping

This commit is contained in:
surtur 2022-08-11 12:37:19 +02:00
parent 77d6e5ee3a
commit 3900620751
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -457,6 +457,9 @@ nnoremap <c-LeftMouse> :ALEGoToDefinition<cr>
" [bro]wse [ol]d files
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