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:
parent
6f12abde67
commit
9b08205807
2 changed files with 8 additions and 5 deletions
7
cfg-pre/45-leaders.vim
Normal file
7
cfg-pre/45-leaders.vim
Normal 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
|
||||||
|
|
|
@ -5,8 +5,4 @@ set incsearch " Incremental search
|
||||||
set title " Update terminal title
|
set title " Update terminal title
|
||||||
set wildmenu " Enhanced command completion, with menu!
|
set wildmenu " Enhanced command completion, with menu!
|
||||||
|
|
||||||
let mapleader = ' ' " Space as leader character
|
set notimeout " No timeout for key sequences
|
||||||
let maplocalleader = ',' " Comma as local leader character
|
|
||||||
|
|
||||||
set ttimeout
|
|
||||||
set ttimeoutlen=450
|
|
||||||
|
|
Loading…
Reference in a new issue