Add mapping to rename include guards in c/cpp
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user