Skip to content

Commit cf15144

Browse files
committed
Test for +X11 before using clipboard=unnamedplus
1 parent 65d344d commit cf15144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
scriptencoding utf-8
7272

7373
if has('clipboard')
74-
if LINUX() " On Linux use + register for copy-paste
74+
if has('X11') " On X11 use + register for copy-paste
7575
set clipboard=unnamedplus
7676
else " On mac and Windows, use * register for copy-paste
7777
set clipboard=unnamed

0 commit comments

Comments
 (0)