aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMax Christian Pohle2020-02-28 14:21:36 +0100
committerMax Christian Pohle2020-02-28 14:21:36 +0100
commit1806b1b40739894ee18bef2c071487274cbab3b7 (patch)
tree3c43f810098943d79c35303f068ac00a97faf1e8 /vimrc
parent7ebf9126bcbe10769b2275056fede56736890b59 (diff)
downloadvim-1806b1b40739894ee18bef2c071487274cbab3b7.tar.bz2
vim-1806b1b40739894ee18bef2c071487274cbab3b7.zip
Small fixes and adoptions for python[23]
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index cc4cae8..058a66b 100644
--- a/vimrc
+++ b/vimrc
@@ -9,7 +9,9 @@ set ttyfast | " improves speed for terminal vim (incompatible with nvim)
9set nottybuiltin | " use external termcaps 9set nottybuiltin | " use external termcaps
10set restorescreen | " restores the console after exiting vim (intentionally not in nvim) 10set restorescreen | " restores the console after exiting vim (intentionally not in nvim)
11 11
12autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") 12" autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib")
13" autocmd VimLeave * call system("xsel -ib", getreg('+'))
14autocmd VimLeave * call system('echo ' . shellescape(getreg('+')) . ' | xclip -selection clipboard')
13 15
14 16
15" scripts from the default vim installation, which do not get loaded by default, but are useful. 17" scripts from the default vim installation, which do not get loaded by default, but are useful.
..