diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 11:11:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 11:11:09 +1200 |
commit | 34f0ea4f4bd55c1917217ab733573e07616b968f (patch) | |
tree | 1400ceeca2a6e21e50d5bd99a0e04f2192af43c3 | |
parent | Add \@ mapping to execute lines with 'shell' (diff) | |
download | dotfiles-34f0ea4f4bd55c1917217ab733573e07616b968f.tar.gz dotfiles-34f0ea4f4bd55c1917217ab733573e07616b968f.zip |
Add 'confirm'
I'm not sure I'll like this, but it's worth a go instead of manually
adding bangs to each command.
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -58,6 +58,9 @@ silent! set breakindent " Clear default 'comments' value, let the filetype handle it set comments= +" Give me a prompt instead of just rejecting risky :write, :saveas +set confirm + " Try to keep swapfiles in one system-appropriate dir set directory^=~/.vim/cache/swap//,~/vimfiles/cache/swap// |