summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-12-02 21:43:16 +0100
committerBram Moolenaar <Bram@vim.org>2010-12-02 21:43:16 +0100
commitbf9680e441f09a6b90ad3185154474442d363a55 (patch)
treeaa05b7bbba40793abb8878d5850318c9223d2dd0 /src/globals.h
parent863053d1d4b1508c6e4285f01c2d743d7a211ea4 (diff)
downloadvim-git-bf9680e441f09a6b90ad3185154474442d363a55.tar.gz
updated for version 7.3.074v7.3.074
Problem: Can't use the "+ register like "* for yank and put. Solution: Add "unnamedplus" to the 'clipboard' option. (Ivan Krasilnikov)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index 82731f9ab..84aaa06ad 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -512,7 +512,11 @@ EXTERN VimClipboard clip_plus; /* CLIPBOARD selection in X11 */
# define clip_plus clip_star /* there is only one clipboard */
# define ONE_CLIPBOARD
# endif
-EXTERN int clip_unnamed INIT(= FALSE);
+
+#define CLIP_UNNAMED 1
+#define CLIP_UNNAMED_PLUS 2
+EXTERN int clip_unnamed INIT(= 0); /* above two values or'ed */
+
EXTERN int clip_autoselect INIT(= FALSE);
EXTERN int clip_autoselectml INIT(= FALSE);
EXTERN int clip_html INIT(= FALSE);