the register \fIx\fP.
.TP
.BI [ \[char34]x ];Y
-Yank hint's text description or form text into primary and secondary
-clipboard and into the register \fIx\fP.
+Yank hint's text description or form text into primary and secondary clipboard
+and into the register \fIx\fP.
.PD
.RE
.TP
.B CTRL\-V
Pass the next key press directly to gtk.
.TP
-.B CTRL\-R {a-z%:/;}
+.B CTRL\-R {a-z"%:/;}
Insert the content of given register at cursor position. See also section
REGISTERS.
.SS Command Line History
.BR \[char34]a " - " \[char34]z
26 named registers "a to "z. Vimb fills these registers only when you say so.
.TP
-.B \[char34]%
-Contains the curent opened URI.
-.TP
.B \[char34]:
-Contains the most recent executed ex command.
+Last executed ex command.
+.TP
+.B \[char34]"
+Last yanked content.
+.TP
+.B \[char34]%
+Curent opened URI.
.TP
.B \[char34]/
-Contains the most recent search-pattern.
+Last search phrase.
.TP
.B \[char34];
Contains the last hinted URL. This can be used in `x-hint-command' to get the
text = gtk_clipboard_wait_for_text(SECONDARY_CLIPBOARD());
}
if (text) {
- /* put the text into the yank buffer */
+ /* save in given register and default "" register */
vb_register_add(buf, text);
+ vb_register_add('"', text);
vb_echo(VB_MSG_NORMAL, false, tmpl, text);
g_free(text);
a.s = arg->s;
}
if (a.s) {
- /* put the text into the yank buffer */
vb_set_clipboard(&a);
+ /* save in given register and default "" register */
vb_register_add(buf, a.s);
+ vb_register_add('"', a.s);
vb_echo(VB_MSG_NORMAL, false, tmpl, a.s);
return true;
#define VB_MARK_SIZE (sizeof(VB_MARK_CHARS) - 1)
#define VB_USER_REG "abcdefghijklmnopqrstuvwxyz"
-#define VB_REG_CHARS VB_USER_REG "%:/;"
+/* registers in order displayed for :register command */
+#define VB_REG_CHARS "\"" VB_USER_REG ":%/;"
#define VB_REG_SIZE (sizeof(VB_REG_CHARS) - 1)
/* enums */