vim: add shortcut for clang-rename

This commit is contained in:
Mathieu Maret 2024-03-06 18:00:25 +01:00
parent 6feae4f96e
commit 97177cb9c1

3
.vimrc
View File

@ -255,6 +255,7 @@ augroup END
noremap <C-K> :py3f ~/.vim/syntax/clang-format.py<CR> noremap <C-K> :py3f ~/.vim/syntax/clang-format.py<CR>
"inoremap <C-K> <ESC>:py3f ~/.vim/syntax/clang-format.py<CR>i "inoremap <C-K> <ESC>:py3f ~/.vim/syntax/clang-format.py<CR>i
noremap <leader>cr :py3f ~/.vim/syntax/clang-rename.py<cr>
set wildignore+=*.o,*.d,*.dex,*.class,*.png,*.jpeg,*.jpg,*.pdf set wildignore+=*.o,*.d,*.dex,*.class,*.png,*.jpeg,*.jpg,*.pdf
@ -584,7 +585,7 @@ Plugin 'rust-lang/rust.vim'
" Communication with git " Communication with git
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
" Support for Gbrowse " Support for GBrowse with github
Plugin 'tpope/vim-rhubarb' Plugin 'tpope/vim-rhubarb'
" Comment block of code " Comment block of code
Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-commentary'