Mercurial > vim
diff src/globals.h @ 2654:2b475ed86e64 v7.3.074
updated for version 7.3.074
Problem: Can't use the "+ register like "* for yank and put.
Solution: Add "unnamedplus" to the 'clipboard' option. (Ivan Krasilnikov)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 02 Dec 2010 21:43:16 +0100 |
parents | e856f9cc2aee |
children | cd3f52531f6c |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -512,7 +512,11 @@ EXTERN VimClipboard clip_plus; /* CLIPBO # 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);