Blame vim-8.0-copy-paste.patch
|
Zdenek Dohnal |
17d13e |
diff -up vim82/runtime/defaults.vim.copypaste vim82/runtime/defaults.vim
|
|
Zdenek Dohnal |
17d13e |
--- vim82/runtime/defaults.vim.copypaste 2020-10-06 17:03:19.276066889 +0200
|
|
Zdenek Dohnal |
17d13e |
+++ vim82/runtime/defaults.vim 2020-10-06 17:04:30.437448603 +0200
|
|
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 |
17d13e |
" Only do this part when Vim was compiled with the +eval feature.
|
|
Zdenek Dohnal |
17d13e |
if 1
|
|
Zdenek Dohnal |
17d13e |
|