home: vim: move leader mappings to 'init.vim'
This commit is contained in:
parent
0478efa817
commit
8b985cda84
|
@ -13,6 +13,13 @@ set wildmenu
|
||||||
" Enable syntax high-lighting and file-type specific plugins
|
" Enable syntax high-lighting and file-type specific plugins
|
||||||
syntax on
|
syntax on
|
||||||
filetype plugin indent 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 {{{
|
" Indentation configuration {{{
|
||||||
|
|
|
@ -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="!"
|
|
Loading…
Reference in a new issue