Persistent undo support, saving undo files in XDG_CACHE_HOME
This commit is contained in:
parent
74eedcf77a
commit
e36c01d335
1 changed files with 8 additions and 0 deletions
|
@ -59,6 +59,14 @@ else
|
||||||
set number
|
set number
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if exists('+undofile')
|
||||||
|
set undofile
|
||||||
|
let &undodir = $XDG_CACHE_HOME . '/vim/undo'
|
||||||
|
if filewritable(&undodir) != 2
|
||||||
|
call mkdir(&undodir, 'p', 0700)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:LatexBox_Folding = 1
|
let g:LatexBox_Folding = 1
|
||||||
let g:NERDTreeHijackNetrw = 1
|
let g:NERDTreeHijackNetrw = 1
|
||||||
|
|
Loading…
Reference in a new issue