X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/32fc8ed8ff6016455ac1f990ea77ab0de0fb795e:/.vimrc..03bc64c4e89dadccb97ce8d1e22477ab8b7210dc:/base/.vimrc diff --git a/.vimrc b/base/.vimrc similarity index 92% rename from .vimrc rename to base/.vimrc index 24611ec..7e81fe3 100644 --- a/.vimrc +++ b/base/.vimrc @@ -6,12 +6,11 @@ source $VIMRUNTIME/defaults.vim packadd matchit set backup -set backupdir=$HOME/tmp// +set backupdir=$HOME/tmp/vim// set undofile -set undodir=$HOME/tmp// +set undodir=$HOME/tmp/vim// set autoindent -set textwidth=79 set colorcolumn=80 autocmd FileType python setlocal tabstop=4 shiftwidth=4 expandtab autocmd FileType markdown setlocal tabstop=4 shiftwidth=4 expandtab @@ -26,7 +25,7 @@ set list set listchars=tab:├─,extends:»,precedes:«,space:·,trail:∙,nbsp:■ set number set relativenumber -autocmd FocusLost * :set norelativenumber -autocmd FocusGained * :set relativenumber autocmd InsertEnter * :set norelativenumber autocmd InsertLeave * :set relativenumber +autocmd FocusLost * :set norelativenumber +autocmd FocusGained * :set relativenumber