aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-16 20:41:11 +0200
committerMax Christian Pohle2020-07-16 20:41:11 +0200
commit3abfad483660e8dcdd77965a237c271a90cec8e7 (patch)
treef5ac85cf568b8865fc25a6e3ae07861ea6b4ca20 /vimrc
parent19156c818fdd12865c6d17872eea917ab3aaee82 (diff)
downloadvim-3abfad483660e8dcdd77965a237c271a90cec8e7.tar.bz2
vim-3abfad483660e8dcdd77965a237c271a90cec8e7.zip
Tiny mostly optical improvements
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')
..