fix esc delays

This commit is contained in:
Loic Nageleisen 2013-12-13 09:47:32 +01:00
parent 39305a6f8c
commit 85f4d3d325

37
vimrc
View file

@ -14,6 +14,11 @@ let g:netrw_dirhistmax = 0
"make sure backspace behaves
set backspace=indent,eol,start
"shorten esc timeout
set timeout
set timeoutlen=1000
set ttimeoutlen=50
"powerline/airline font
"let g:Powerline_symbols = 'fancy'
let g:airline_powerline_fonts = 1
@ -139,31 +144,31 @@ set completeopt+=longest
"xterm control+arrows
map  <C-Left>
map!  <C-Left>
map  <C-Right>
map!  <C-Right>
"map  <C-Left>
"map!  <C-Left>
"map  <C-Right>
"map!  <C-Right>
"Terminal.app control+arrows
map  <Home>
map!  <Home>
map  <End>
map!  <End>
"map  <Home>
"map!  <Home>
"map  <End>
"map!  <End>
"Lion Terminal.app option+arrows
"map b <M-Left>
"map! b <M-Left>
"map f <M-Right>
"map! f <M-Right>
"Terminal.app option+arrows
map  <M-Left>
map!  <M-Left>
map  <M-Right>
map!  <M-Right>
"map  <M-Left>
"map!  <M-Left>
"map  <M-Right>
"map!  <M-Right>
" make meta move on words like control
map <M-Left> <C-Left>
map! <M-Left> <C-Left>
map <M-Right> <C-Right>
map! <M-Right> <C-Right>
"map <M-Left> <C-Left>
"map! <M-Left> <C-Left>
"map <M-Right> <C-Right>
"map! <M-Right> <C-Right>
" highlight background for >80
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929