1 if v:progname =~? "evim"
4 source $VIMRUNTIME/defaults.vim
9 set backupdir=$HOME/tmp/vim//
11 set undodir=$HOME/tmp/vim//
15 autocmd FileType python setlocal tabstop=4 shiftwidth=4 expandtab
16 autocmd FileType markdown setlocal tabstop=4 shiftwidth=4 expandtab
17 autocmd FileType javascript setlocal tabstop=2 shiftwidth=2 expandtab
18 autocmd FileType json setlocal tabstop=2 shiftwidth=2 expandtab
19 autocmd FileType html setlocal tabstop=2 shiftwidth=2 expandtab
23 nnoremap <CR> :noh<CR><CR>
25 set listchars=tab:├─,extends:»,precedes:«,space:·,trail:∙,nbsp:■
28 autocmd InsertEnter * :set norelativenumber
29 autocmd InsertLeave * :set relativenumber
30 autocmd FocusLost * :set norelativenumber
31 autocmd FocusGained * :set relativenumber