Add mapping to rename include guards in c/cpp

This commit is contained in:
2018-09-07 22:13:29 +01:00
parent 25c18763bc
commit c80ddd3617
2 changed files with 17 additions and 0 deletions

View File

@@ -91,3 +91,6 @@ nnoremap <leader><CR> :ToggleCheckbox<CR>
" Show highlight groups under the cursor
nnoremap <leader>hi :CursorHighlightGroups<CR>
" Rename C/C++ include guard
nnoremap <leader>rg :call do#rename_include_guard(expand('<cword>'))<cr>