|
|
|
@ -3,7 +3,11 @@ set nobackup
|
|
|
|
|
set nocompatible |
|
|
|
|
|
|
|
|
|
" Setup paths |
|
|
|
|
set viminfo+=n~/.cache/vim_history |
|
|
|
|
set backupdir=$XDG_CACHE_HOME/vim,/var/tmp/tmp |
|
|
|
|
set directory=$XDG_CACHE_HOME/vim,/var/tmp/tmp |
|
|
|
|
set packpath^=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after |
|
|
|
|
set runtimepath^=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after |
|
|
|
|
set viminfo+=n$XDG_CACHE_HOME/vim_history |
|
|
|
|
|
|
|
|
|
"" General |
|
|
|
|
|
|
|
|
@ -15,8 +19,9 @@ set clipboard=unnamedplus
|
|
|
|
|
set encoding=utf-8 |
|
|
|
|
set fileencoding=utf-8 |
|
|
|
|
set hidden |
|
|
|
|
|
|
|
|
|
set history=1000 |
|
|
|
|
set mouse=a |
|
|
|
|
set ttimeoutlen=0 |
|
|
|
|
set undolevels=1000 |
|
|
|
|
|
|
|
|
|
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg |