Blame vim-8.0-copy-paste.patch
|
Zdenek Dohnal |
99995c |
diff -up vim81/runtime/defaults.vim.copypaste vim81/runtime/defaults.vim
|
|
Zdenek Dohnal |
99995c |
--- vim81/runtime/defaults.vim.copypaste 2019-10-30 10:30:23.108710252 +0100
|
|
Zdenek Dohnal |
99995c |
+++ vim81/runtime/defaults.vim 2019-10-30 10:36:19.127508406 +0100
|
|
Zdenek Dohnal |
99995c |
@@ -73,18 +73,6 @@ map Q gq
|
|
Zdenek Dohnal |
7b7b6b |
" Revert with ":iunmap <C-U>".
|
|
Zdenek Dohnal |
7b7b6b |
inoremap <C-U> <C-G>u<C-U>
|
|
Zdenek Dohnal |
43f783 |
|
|
Zdenek Dohnal |
7b7b6b |
-" In many terminal emulators the mouse works just fine. By enabling it you
|
|
Zdenek Dohnal |
7b7b6b |
-" can position the cursor, Visually select and scroll with the mouse.
|
|
Zdenek Dohnal |
99995c |
-" Only xterm can grab the mouse events when using the shift key, for other
|
|
Zdenek Dohnal |
99995c |
-" terminals use ":", select text and press Esc.
|
|
Zdenek Dohnal |
7b7b6b |
-if has('mouse')
|
|
Zdenek Dohnal |
99995c |
- if &term =~ 'xterm'
|
|
Zdenek Dohnal |
99995c |
- set mouse=a
|
|
Zdenek Dohnal |
99995c |
- else
|
|
Zdenek Dohnal |
99995c |
- set mouse=nvi
|
|
Zdenek Dohnal |
99995c |
- endif
|
|
Zdenek Dohnal |
7b7b6b |
-endif
|
|
Zdenek Dohnal |
7b7b6b |
-
|
|
Zdenek Dohnal |
43f783 |
" Switch syntax highlighting on when the terminal has colors or when using the
|
|
Zdenek Dohnal |
7b7b6b |
" GUI (which always has colors).
|
|
Zdenek Dohnal |
7b7b6b |
if &t_Co > 2 || has("gui_running")
|