Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Editor appearance
- syntax enable "enable syntax processing
- set number "show current line number
- set relativenumber "show relative line numbers
- set cursorline "highlight current line
- set showmatch "highlight matching brackets [{()}]
- " Indentation
- set tabstop=4 "number of visual spaces per TAB
- set softtabstop=4 "number of spaces in TAB when editing
- set expandtab "TABs are SPACEs
- " Editor settings
- set lazyredraw "redraw only when we need to
- " Key bindings
- " Don't use arrowkeys
- noremap <Up> <NOP>
- noremap <Down> <NOP>
- noremap <Left> <NOP>
- noremap <Right> <NOP>
- " Really, just don't
- inoremap <Up> <NOP>
- inoremap <Down> <NOP>
- inoremap <Left> <NOP>
- inoremap <Right> <NOP>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement