]> git.sev.monster Git - dotfiles.git/blame - base/.vimrc
urxvt block cursor + root term; zsh, dunst changes
[dotfiles.git] / base / .vimrc
CommitLineData
1b8a4102 1if v:progname =~? "evim"
2 finish
3endif
4source $VIMRUNTIME/defaults.vim
5
6packadd matchit
7
8set backup
03bc64c4 9set backupdir=$HOME/tmp/vim//
1b8a4102 10set undofile
03bc64c4 11set undodir=$HOME/tmp/vim//
1b8a4102 12
13set autoindent
1b8a4102 14set colorcolumn=80
15autocmd FileType python setlocal tabstop=4 shiftwidth=4 expandtab
16autocmd FileType markdown setlocal tabstop=4 shiftwidth=4 expandtab
17autocmd FileType javascript setlocal tabstop=2 shiftwidth=2 expandtab
18autocmd FileType json setlocal tabstop=2 shiftwidth=2 expandtab
19autocmd FileType html setlocal tabstop=2 shiftwidth=2 expandtab
20
21set cursorline
22set hlsearch
23nnoremap <CR> :noh<CR><CR>
24set list
25set listchars=tab:├─,extends:»,precedes:«,space:·,trail:∙,nbsp:■
26set number
27set relativenumber
1b8a4102 28autocmd InsertEnter * :set norelativenumber
29autocmd InsertLeave * :set relativenumber
03bc64c4 30autocmd FocusLost * :set norelativenumber
31autocmd FocusGained * :set relativenumber
This page took 0.050944 seconds and 4 git commands to generate.