From 405870355238b6d0abdf0635cad9795f4c1ca44e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 12 Sep 2020 15:47:00 +1200 Subject: Add settings for undofileskip.vim --- vim/after/plugin/undofileskip.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vim/after/plugin/undofileskip.vim (limited to 'vim') 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', + \]) -- cgit v1.2.3