From 8b570694cd382ebbba169ccdefb8ee4054949243 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 26 Feb 2022 13:37:51 +0100 Subject: [PATCH] home: vim: remove unused mappings The beancount mappings are absolutely unused. The `Y` mapping is built in NeoVim nowadays. --- home/vim/after/ftplugin/beancount.vim | 4 ---- home/vim/after/plugin/mappings/misc.vim | 3 --- home/vim/after/plugin/mappings/qf.vim | 8 -------- 3 files changed, 15 deletions(-) diff --git a/home/vim/after/ftplugin/beancount.vim b/home/vim/after/ftplugin/beancount.vim index c5645c8..a2b142e 100644 --- a/home/vim/after/ftplugin/beancount.vim +++ b/home/vim/after/ftplugin/beancount.vim @@ -7,7 +7,3 @@ let b:undo_ftplugin.='|setlocal shiftwidth<' " Have automatic padding of transactions so that decimal is on 52nd column let g:beancount_separator_col=52 - -" Automatic padding for transactions -nnoremap = :AlignCommodity -vnoremap = :AlignCommodity diff --git a/home/vim/after/plugin/mappings/misc.vim b/home/vim/after/plugin/mappings/misc.vim index 7f1ea1c..fc2ed3d 100644 --- a/home/vim/after/plugin/mappings/misc.vim +++ b/home/vim/after/plugin/mappings/misc.vim @@ -1,6 +1,3 @@ -" Yank until the end of line with Y, to be more consistent with D and C -nnoremap Y y$ - " Run make silently, then skip the 'Press ENTER to continue' noremap m :silent! :make! \| :redraw! diff --git a/home/vim/after/plugin/mappings/qf.vim b/home/vim/after/plugin/mappings/qf.vim index c5e353b..6c98759 100644 --- a/home/vim/after/plugin/mappings/qf.vim +++ b/home/vim/after/plugin/mappings/qf.vim @@ -1,11 +1,3 @@ -" Next and previous in quick-fix list -nmap fn (qf_qf_next) -nmap fp (qf_qf_previous) - -" Next and previous in location list -nmap ln (qf_loc_next) -nmap lp (qf_loc_previous) - " Toggle quick-fix and location lists nmap tf (qf_qf_toggle) nmap tl (qf_loc_toggle)