diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,9 +2,10 @@ exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' | |||
2 | set packpath+=pack/vim | 2 | set packpath+=pack/vim |
3 | 3 | ||
4 | set ttymouse=xterm2 | 4 | set ttymouse=xterm2 |
5 | set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices | ||
6 | set ttybuiltin | " use internal termcaps, because these are more stable | ||
5 | set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim | 7 | set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim |
6 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) | 8 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) |
7 | set nottybuiltin | " use external termcaps | ||
8 | 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) |
9 | 10 | ||
10 | " autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") | 11 | " autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") |