diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,10 @@ set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim | |||
8 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) | 8 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) |
9 | set restorescreen | " restores the console after exiting vim (intentionally not in nvim) | 9 | set 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 | ||
13 | set 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('+')) |
13 | autocmd VimLeave * call system('echo ' . shellescape(getreg('+')) . ' | xclip -selection clipboard') | 17 | autocmd VimLeave * call system('echo ' . shellescape(getreg('+')) . ' | xclip -selection clipboard') |