From 3abfad483660e8dcdd77965a237c271a90cec8e7 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 16 Jul 2020 20:41:11 +0200 Subject: Tiny mostly optical improvements --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 86ff057..f17d507 100644 --- a/vimrc +++ b/vimrc @@ -8,6 +8,10 @@ set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim set ttyfast | " improves speed for terminal vim (incompatible with nvim) set restorescreen | " restores the console after exiting vim (intentionally not in nvim) +" because file names rarely have equal signs, but many different configuration +" file formats use that, we want to exclude the sign from the pattern +set isfname-== + " autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") " autocmd VimLeave * call system("xsel -ib", getreg('+')) autocmd VimLeave * call system('echo ' . shellescape(getreg('+')) . ' | xclip -selection clipboard') -- cgit v1.2.3