diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,9 +4,10 @@ set packpath+=pack/vim | |||
4 | 4 | ||
5 | 5 | ||
6 | set ttymouse=xterm2 | 6 | set ttymouse=xterm2 |
7 | set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices | ||
8 | set ttybuiltin | " use internal termcaps, because these are more stable | ||
7 | set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim | 9 | set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim |
8 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) | 10 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) |
9 | set nottybuiltin | " use external termcaps | ||
10 | set restorescreen | " restores the console after exiting vim (intentionally not in nvim) | 11 | set restorescreen | " restores the console after exiting vim (intentionally not in nvim) |
11 | 12 | ||
12 | " autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") | 13 | " autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") |