Key sequences changes

* Define leader keys in pre-configuration, so they can be used in
NeoBundle mappings
* Disable timeouts on key sequences.
This commit is contained in:
Emmanuel BENOîT 2015-03-08 10:28:48 +01:00
parent 6f12abde67
commit 9b08205807
2 changed files with 8 additions and 5 deletions

7
cfg-pre/45-leaders.vim Normal file
View file

@ -0,0 +1,7 @@
" Define leader keys. They need to be here as they might be used to configure
" NeoBundle mappings. If a local configuration wants to override them, it
" should do so in its vimrc file.
let mapleader = ' ' " Space as leader character
let maplocalleader = ',' " Comma as local leader character

View file

@ -5,8 +5,4 @@ set incsearch " Incremental search
set title " Update terminal title
set wildmenu " Enhanced command completion, with menu!
let mapleader = ' ' " Space as leader character
let maplocalleader = ',' " Comma as local leader character
set ttimeout
set ttimeoutlen=450
set notimeout " No timeout for key sequences