From bb38a36e83eb981f5030bf26de111c9d7b1dc463 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 12 Sep 2020 16:15:15 +1200 Subject: Prevent systemd units from keeping persistent undo --- vim/after/plugin/undofileskip.vim | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'vim') diff --git a/vim/after/plugin/undofileskip.vim b/vim/after/plugin/undofileskip.vim index 5c21868f..90b9410c 100644 --- a/vim/after/plugin/undofileskip.vim +++ b/vim/after/plugin/undofileskip.vim @@ -9,4 +9,26 @@ call extend(g:undofileskip, [ \ '*.git/*_EDITMSG', \ '*.git/ADD_EDIT.patch', \ '*.git/rebase-merge/git-rebase-todo', + \ '~/.config/systemd/user/?*.automount.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.device.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.mount.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.path.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.service.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.scope.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.slice.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.socket.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.swap.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.target.d/.#override.conf????????????????', + \ '~/.config/systemd/user/?*.timer.d/.#override.conf????????????????', + \ '~/.config/systemd/user/.#?*.automount????????????????', + \ '~/.config/systemd/user/.#?*.device????????????????', + \ '~/.config/systemd/user/.#?*.mount????????????????', + \ '~/.config/systemd/user/.#?*.path????????????????', + \ '~/.config/systemd/user/.#?*.service????????????????', + \ '~/.config/systemd/user/.#?*.scope????????????????', + \ '~/.config/systemd/user/.#?*.slice????????????????', + \ '~/.config/systemd/user/.#?*.socket????????????????', + \ '~/.config/systemd/user/.#?*.swap????????????????', + \ '~/.config/systemd/user/.#?*.target????????????????', + \ '~/.config/systemd/user/.#?*.timer????????????????', \]) -- cgit v1.2.3