From 8b985cda840527636acc99a1bf7b7148249ab272 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 26 Feb 2022 13:46:24 +0100 Subject: [PATCH] home: vim: move leader mappings to 'init.vim' --- home/vim/init.vim | 7 +++++++ home/vim/plugin/mappings/leader.vim | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 home/vim/plugin/mappings/leader.vim diff --git a/home/vim/init.vim b/home/vim/init.vim index ae5b15f..ab5f648 100644 --- a/home/vim/init.vim +++ b/home/vim/init.vim @@ -13,6 +13,13 @@ set wildmenu " Enable syntax high-lighting and file-type specific plugins syntax on filetype plugin indent on + +" Map leader to space (needs the noremap trick to avoid moving the cursor) +nnoremap +let mapleader=" " + +" Map localleader to '!' (if I want to filter text, I use visual mode) +let maplocalleader="!" " }}} " Indentation configuration {{{ diff --git a/home/vim/plugin/mappings/leader.vim b/home/vim/plugin/mappings/leader.vim deleted file mode 100644 index 0aba0b2..0000000 --- a/home/vim/plugin/mappings/leader.vim +++ /dev/null @@ -1,6 +0,0 @@ -" Map leader to space (needs the noremap trick to avoid moving the cursor) -nnoremap -let mapleader=" " - -" Map localleader to '!' (if I want to filter text, I use visual mode) -let maplocalleader="!"