From cc282223564d303876aebcf31119b5db5ecf4149 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 28 Oct 2020 10:31:20 +0100 Subject: [PATCH] [UPDATE][VIM] Remove unused mappings --- vim/.vim/after/plugin/mappings/ale.vim | 6 ------ vim/.vim/after/plugin/mappings/fugitive.vim | 6 ------ vim/.vim/after/plugin/mappings/misc.vim | 11 ----------- vim/.vim/after/plugin/mappings/qf.vim | 3 --- 4 files changed, 26 deletions(-) diff --git a/vim/.vim/after/plugin/mappings/ale.vim b/vim/.vim/after/plugin/mappings/ale.vim index dc02288..3069f81 100644 --- a/vim/.vim/after/plugin/mappings/ale.vim +++ b/vim/.vim/after/plugin/mappings/ale.vim @@ -1,8 +1,2 @@ -" Use ALE LSP-powered go-to-definition -nnoremap gd :ALEGoToDefinition - -" Use ALE LSP-powered find-references -nnoremap gr :ALEFindReferences - " Use ALE LSP-powered symbol information nnoremap K :ALEHover diff --git a/vim/.vim/after/plugin/mappings/fugitive.vim b/vim/.vim/after/plugin/mappings/fugitive.vim index 4e4c9a9..934f00e 100644 --- a/vim/.vim/after/plugin/mappings/fugitive.vim +++ b/vim/.vim/after/plugin/mappings/fugitive.vim @@ -2,15 +2,9 @@ xnoremap dp :diffput xnoremap do :diffget -" Git add current file -nnoremap ga :Git add %:p " Open status window nnoremap gs :Gstatus " Open diff view of current buffer: the up/left window is the current index nnoremap gd :Gdiffsplit! " Open current file log in new tab, populate its location list with history nnoremap gl :spT:Gllog --follow -- %:p -" Open a buffer to the left with blame information -nnoremap gb :Gblame -" Commit staged changes, open a new tab just for it -nnoremap gc :Gcommit -v -q diff --git a/vim/.vim/after/plugin/mappings/misc.vim b/vim/.vim/after/plugin/mappings/misc.vim index 7383558..7f1ea1c 100644 --- a/vim/.vim/after/plugin/mappings/misc.vim +++ b/vim/.vim/after/plugin/mappings/misc.vim @@ -1,17 +1,6 @@ " Yank until the end of line with Y, to be more consistent with D and C nnoremap Y y$ -" Edit my vimrc in the current buffer -nnoremap ev :edit $MYVIMRC -" Source my vimrc -nnoremap es :source $MYVIMRC -" Source the current buffer -nnoremap et :source % - -" Easier escape from insert mode -inoremap jkj -inoremap kjk - " Run make silently, then skip the 'Press ENTER to continue' noremap m :silent! :make! \| :redraw! diff --git a/vim/.vim/after/plugin/mappings/qf.vim b/vim/.vim/after/plugin/mappings/qf.vim index 0377a2c..c5e353b 100644 --- a/vim/.vim/after/plugin/mappings/qf.vim +++ b/vim/.vim/after/plugin/mappings/qf.vim @@ -9,6 +9,3 @@ nmap lp (qf_loc_previous) " Toggle quick-fix and location lists nmap tf (qf_qf_toggle) nmap tl (qf_loc_toggle) - -" Jump to and from the quick-fix/location list -nmap รง (qf_qf_switch)