33 lines
607 B
VimL
33 lines
607 B
VimL
syntax on
|
|
filetype plugin indent on
|
|
set t_Co=256
|
|
colorscheme vitamins
|
|
set ls=0
|
|
set number
|
|
set noerrorbells
|
|
set autoindent
|
|
set tabstop=4
|
|
set textwidth=80
|
|
set shiftwidth=4
|
|
set shiftround
|
|
set modeline
|
|
set nobackup
|
|
set nohlsearch
|
|
"set foldenable
|
|
"set listchars=tab:»·
|
|
"set list " enable tab chars
|
|
|
|
autocmd bufnewfile *.py so ~/etc/vim/header_python
|
|
autocmd bufnewfile *.html so ~/etc/vim/header_html
|
|
autocmd bufnewfile,bufread *.tpl set filetype=html
|
|
|
|
inoremap ( ()<Esc>i
|
|
inoremap [ []<Esc>i
|
|
inoremap { {}<Esc>i
|
|
inoremap < <><Esc>i
|
|
inoremap " ""<Esc>i
|
|
|
|
noremap s h
|
|
noremap n k
|
|
noremap r j
|
|
noremap t l
|