home: vim: move leader mappings to 'init.vim'

This commit is contained in:
Bruno BELANYI 2022-02-26 13:46:24 +01:00
parent 8b570694cd
commit b76af022bd
2 changed files with 7 additions and 6 deletions

View file

@ -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 <Space> <Nop>
let mapleader=" "
" Map localleader to '!' (if I want to filter text, I use visual mode)
let maplocalleader="!"
" }}}
" Indentation configuration {{{

View file

@ -1,6 +0,0 @@
" Map leader to space (needs the noremap trick to avoid moving the cursor)
nnoremap <Space> <Nop>
let mapleader=" "
" Map localleader to '!' (if I want to filter text, I use visual mode)
let maplocalleader="!"