From 57a48b3c051937d533e5af1b4483bb7f57e13a97 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 9 Oct 2019 14:41:50 +0200 Subject: [PATCH] [ADD][VIM] Local leader mapping I don't use the '!' command to filter text through an external program. If I need that functionality I use visual mode and a ':!' command. --- vim/.vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index e490154..680faa2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -326,6 +326,8 @@ nnoremap Y y$ " Map leader to space (needs the noremap trick) nnoremap let mapleader=" " +" Map localleader to '!' (if I want to filter text, I use visual mode) +let maplocalleader="!" " Mappings for working with this file. map ev :edit $MYVIMRC