diff options
author | Max Christian Pohle | 2020-07-16 20:41:11 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-16 20:41:11 +0200 |
commit | 3abfad483660e8dcdd77965a237c271a90cec8e7 (patch) | |
tree | f5ac85cf568b8865fc25a6e3ae07861ea6b4ca20 /vimrc | |
parent | 19156c818fdd12865c6d17872eea917ab3aaee82 (diff) | |
download | vim-karlmarks-3abfad483660e8dcdd77965a237c271a90cec8e7.tar.bz2 vim-karlmarks-3abfad483660e8dcdd77965a237c271a90cec8e7.zip |
Tiny mostly optical improvements
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') |