30 lines
576 B
VimL
30 lines
576 B
VimL
" highlight matching brackets
|
||
set showmatch
|
||
|
||
" status line: show line/column and current mode
|
||
set ruler
|
||
set showmode
|
||
|
||
" required to be able to use keypad keys and map missed escape sequences
|
||
set esckeys
|
||
|
||
" be user-friendly instead of compatible
|
||
set nocompatible
|
||
|
||
" backspace shall remove anything in insert mode
|
||
set backspace=indent,eol,start
|
||
|
||
" keys in insert mode
|
||
map! <Esc>OA <Up>
|
||
map! <Esc>OB <Down>
|
||
map! <Esc>OC <Right>
|
||
map! <Esc>OD <Left>
|
||
map! <Esc>OH <Home>
|
||
map! <Esc>OF <End>
|
||
map! <Esc>[5~ <PageUp>
|
||
map! <Esc>[6~ <PageDown>
|
||
map! <BS>
|
||
|
||
" keys in command mode
|
||
map X
|