vim: do not use vim-rename: used by languageclient

This commit is contained in:
Mathieu Maret 2020-12-18 11:45:18 +01:00
parent 68a4e8a979
commit aae2869c59

7
.vimrc
View File

@ -220,11 +220,8 @@ endfu
" detect indentation see http://www.freehackers.org/Indent_Finder " detect indentation see http://www.freehackers.org/Indent_Finder
autocmd BufReadPost /* call DetectIndent() autocmd BufReadPost /* call DetectIndent()
map <C-K> :pyf ~/.vim/syntax/clang-format.py<CR> map <C-K> :py3f ~/.vim/syntax/clang-format.py<CR>
imap <C-K> <ESC>:pyf ~/.vim/syntax/clang-format.py<CR>i imap <C-K> <ESC>:py3f ~/.vim/syntax/clang-format.py<CR>i
let g:clang_rename_path="clang-rename-4.0"
noremap <leader>cr :pyf ~/.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