SHA256
8
0
forked from pool/vim
OBS User unknown
2008-09-26 13:14:32 +00:00
committed by Git OBS Bridge
parent a1dc42963a
commit c90bb85225
4 changed files with 31 additions and 21 deletions

View File

@@ -41,6 +41,11 @@ set backspace=indent,eol,start
" enable this for bash compatible behaviour
" set wildmode=longest,full
" do timeout on terminal key codes
set ttimeout
" timeout after 100 msec
set timeoutlen=100
" Try to get the correct main terminal type
if &term =~ "xterm"
let myterm = "xterm"
@@ -110,13 +115,6 @@ if myterm == "xterm" || myterm == "kvt" || myterm == "gnome"
map! <Esc>[D <Left>
" KP_5 (NumLock off)
map! <Esc>[E <Insert>
" PageUp/PageDown
map <ESC>[5~ <PageUp>
map <ESC>[6~ <PageDown>
map <ESC>[5;2~ <PageUp>
map <ESC>[6;2~ <PageDown>
map <ESC>[5;5~ <PageUp>
map <ESC>[6;5~ <PageDown>
" keys in normal mode
map <ESC>[H 0
map <ESC>[F $
@@ -130,13 +128,6 @@ if myterm == "xterm" || myterm == "kvt" || myterm == "gnome"
map <ESC>[D h
" KP_5 (NumLock off)
map <ESC>[E i
" PageUp/PageDown
map <ESC>[5~ 
map <ESC>[6~ 
map <ESC>[5;2~ 
map <ESC>[6;2~ 
map <ESC>[5;5~ 
map <ESC>[6;5~ 
endif
" xterm/kvt but with activated keyboard transmit mode.