summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2024-03-14 07:55:48 +0100
committerChristian Brabandt <cb@256bit.org>2024-03-14 07:59:09 +0100
commit45da32964d6e7e635af8fcf0b42e974b0b536ed3 (patch)
tree9edead7f652dcc47403950f85ff8adae7341e4e4
parent0a32b8854b52381fd17a6fcc5e38a3b9e77c8923 (diff)
runtime(mswin): still another clipboard_working test
Commit 760f664213dea9a300454992ba1589f4601d622f missed to revert back another test for `if has('clipboard_working')` So change the remaining check around the inoremap <c-v> mappings. fixes #14195 Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/mswin.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mswin.vim b/runtime/mswin.vim
index 798d94061c..b2a3670eb1 100644
--- a/runtime/mswin.vim
+++ b/runtime/mswin.vim
@@ -67,7 +67,7 @@ endif
" Uses the paste.vim autoload script.
" Use CTRL-G u to have CTRL-Z only undo the paste.
-if has("clipboard_working")
+if has("clipboard")
exe 'inoremap <script> <C-V> <C-G>u' . paste#paste_cmd['i']
exe 'vnoremap <script> <C-V> ' . paste#paste_cmd['v']
endif