diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-12 15:47:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-12 15:47:00 +1200 |
commit | 405870355238b6d0abdf0635cad9795f4c1ca44e (patch) | |
tree | 77b8b838167c14646eae759f63694c0ddf9ac23f | |
parent | Add "I have attached" to match Mutt drop attach (diff) | |
download | dotfiles-405870355238b6d0abdf0635cad9795f4c1ca44e.tar.gz dotfiles-405870355238b6d0abdf0635cad9795f4c1ca44e.zip |
Add settings for undofileskip.vim
-rw-r--r-- | vim/after/plugin/undofileskip.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/after/plugin/undofileskip.vim b/vim/after/plugin/undofileskip.vim new file mode 100644 index 00000000..5c21868f --- /dev/null +++ b/vim/after/plugin/undofileskip.vim @@ -0,0 +1,12 @@ +" If undofileskip.vim loaded, add a few applicable paths to its list +if !exists('g:undofileskip') + finish +endif +call extend(g:undofileskip, [ + \ '/dev/shm/*', + \ '/usr/tmp/*', + \ '/var/tmp/*', + \ '*.git/*_EDITMSG', + \ '*.git/ADD_EDIT.patch', + \ '*.git/rebase-merge/git-rebase-todo', + \]) |