Set a shared vim undo directory
And be sure to create it during installation
This commit is contained in:
parent
f55283485b
commit
db9d9628e5
2 changed files with 3 additions and 0 deletions
2
install
2
install
|
@ -29,6 +29,8 @@ if [[ `uname` == Darwin ]]; then
|
||||||
stow macos
|
stow macos
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p ~/.local/share/vim/undo/
|
||||||
|
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
rm -f "${HOME}/.zcompdump*"
|
rm -f "${HOME}/.zcompdump*"
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@ set shiftwidth=2
|
||||||
set smartindent
|
set smartindent
|
||||||
set softtabstop=2
|
set softtabstop=2
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
set undodir=~/.local/share/vim/undo/
|
||||||
set undofile
|
set undofile
|
||||||
|
|
||||||
" Filetype-specific settings
|
" Filetype-specific settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue