mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Respect XDG for vim info file
This commit is contained in:
parent
ab51821a81
commit
e0f6272f8c
|
@ -52,6 +52,9 @@ set scrolloff=5 " Keep 5 lines horizontal scrolloff
|
||||||
set sidescrolloff=5 " Keep 5 characters vertical scrolloff
|
set sidescrolloff=5 " Keep 5 characters vertical scrolloff
|
||||||
"set termguicolors " Use true colors (256) (May cause issues on TTY)
|
"set termguicolors " Use true colors (256) (May cause issues on TTY)
|
||||||
|
|
||||||
|
" Move ~/.viminfo to XDG_CACHE_HOME
|
||||||
|
"set viminfofile=$XDG_CACHE_HOME/vim/viminfo
|
||||||
|
|
||||||
" Disable automatic commenting on newline
|
" Disable automatic commenting on newline
|
||||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue