aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
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
8set ttyfast | " improves speed for terminal vim (incompatible with nvim) 8set ttyfast | " improves speed for terminal vim (incompatible with nvim)
9set restorescreen | " restores the console after exiting vim (intentionally not in nvim) 9set restorescreen | " restores the console after exiting vim (intentionally not in nvim)
10 10
11" because file names rarely have equal signs, but many different configuration
12" file formats use that, we want to exclude the sign from the pattern
13set isfname-==
14
11" autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") 15" autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib")
12" autocmd VimLeave * call system("xsel -ib", getreg('+')) 16" autocmd VimLeave * call system("xsel -ib", getreg('+'))
13autocmd VimLeave * call system('echo ' . shellescape(getreg('+')) . ' | xclip -selection clipboard') 17autocmd VimLeave * call system('echo ' . shellescape(getreg('+')) . ' | xclip -selection clipboard')
..