From f8112777adaf6b79e7737260fa1d08d14b0768c2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 12 Oct 2019 13:30:33 +0200 Subject: [PATCH] [ADD][VIM] Better vim-unimpaired mappings I use a french layout keyboard ('AZERTY' layout), which does not have the greatest access to '[' and ']'. --- vim/.vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 7d1f81f..48d8033 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -360,6 +360,14 @@ map es :source $MYVIMRC " Run make silently, then skip the 'Press ENTER to continue' noremap m :silent! :make! \| :redraw! + +" Better fr layout mappings for vim-unimpaired and other '[' and ']' commands +nmap ( [ +nmap ) ] +omap ( [ +omap ) ] +xmap ( [ +xmap ) ] " }}} " Mapping for quickfix bindings {{{