diff options
author | Max Christian Pohle | 2020-02-28 14:21:36 +0100 |
---|---|---|
committer | Max Christian Pohle | 2020-02-28 14:21:36 +0100 |
commit | 1806b1b40739894ee18bef2c071487274cbab3b7 (patch) | |
tree | 3c43f810098943d79c35303f068ac00a97faf1e8 /vimrc | |
parent | 7ebf9126bcbe10769b2275056fede56736890b59 (diff) | |
download | vim-karlmarks-1806b1b40739894ee18bef2c071487274cbab3b7.tar.bz2 vim-karlmarks-1806b1b40739894ee18bef2c071487274cbab3b7.zip |
Small fixes and adoptions for python[23]
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ set ttyfast | " improves speed for terminal vim (incompatible with nvim) | |||
9 | set nottybuiltin | " use external termcaps | 9 | set nottybuiltin | " use external termcaps |
10 | set restorescreen | " restores the console after exiting vim (intentionally not in nvim) | 10 | set restorescreen | " restores the console after exiting vim (intentionally not in nvim) |
11 | 11 | ||
12 | autocmd 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('+')) | ||
14 | autocmd 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. |