about summary refs log tree commit diff
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-10-30 21:52:18 +0100
committerOliver Kiddle <opk@zsh.org>2014-10-30 21:52:36 +0100
commitfd302c9837b0034962471b9288b182e2525ba1d8 (patch)
tree9b47d9b32d8612077b25aeb5ea937725c8946b70 /Src/Zle/zle.h
parent9d2cfa7af6b8973e13716f7c36f7fb156e3348dd (diff)
downloadzsh-fd302c9837b0034962471b9288b182e2525ba1d8.tar.gz
zsh-fd302c9837b0034962471b9288b182e2525ba1d8.tar.xz
zsh-fd302c9837b0034962471b9288b182e2525ba1d8.zip
33570, 33576: make killring/yank-pop work in vi mode after
vi-put-before and vi-put-after
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index dd6cdcca0..8a85ee342 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -203,13 +203,15 @@ struct widget {
 #define WIDGET_INT	(1<<0)	/* widget is internally implemented */
 #define WIDGET_NCOMP    (1<<1)	/* new style completion widget */
 #define ZLE_MENUCMP	(1<<2)	/* DON'T invalidate completion list */
-#define ZLE_YANK	(1<<3)
-#define ZLE_LINEMOVE	(1<<4)	/* command is a line-oriented movement */
-#define ZLE_LASTCOL     (1<<5)	/* command maintains lastcol correctly */
-#define ZLE_KILL	(1<<6)
-#define ZLE_KEEPSUFFIX	(1<<7)	/* DON'T remove added suffix */
-#define ZLE_NOTCOMMAND  (1<<8)	/* widget should not alter lastcmd */
-#define ZLE_ISCOMP      (1<<9)	/* usable for new style completion */
+#define ZLE_YANKAFTER	(1<<3)
+#define ZLE_YANKBEFORE	(1<<4)
+#define ZLE_YANK        (ZLE_YANKAFTER | ZLE_YANKBEFORE)
+#define ZLE_LINEMOVE	(1<<5)	/* command is a line-oriented movement */
+#define ZLE_LASTCOL     (1<<6)	/* command maintains lastcol correctly */
+#define ZLE_KILL	(1<<7)
+#define ZLE_KEEPSUFFIX	(1<<8)	/* DON'T remove added suffix */
+#define ZLE_NOTCOMMAND  (1<<9)	/* widget should not alter lastcmd */
+#define ZLE_ISCOMP      (1<<10)	/* usable for new style completion */
 
 /* thingies */