diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-04-05 18:55:38 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-04-05 18:55:38 +0000 |
commit | f16ea60cc0eceeb1e0bd580129d99aff4423ec19 (patch) | |
tree | 2493da8ff9c3f8fe49ae7f053e8d4d51ae734a7b | |
parent | f8a218882af6dbdbf0fb8edb0db2962c3eb095a4 (diff) | |
download | rtmux-f16ea60cc0eceeb1e0bd580129d99aff4423ec19.tar.gz rtmux-f16ea60cc0eceeb1e0bd580129d99aff4423ec19.tar.bz2 rtmux-f16ea60cc0eceeb1e0bd580129d99aff4423ec19.zip |
Bind C-u to delete-line in vi mode like ksh does, suggested by thib.
-rw-r--r-- | mode-key.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -123,6 +123,7 @@ const struct mode_key_cmdstr mode_key_cmdstr_copy[] = { const struct mode_key_entry mode_key_vi_edit[] = { { '\003' /* C-c */, 0, MODEKEYEDIT_CANCEL }, { '\010' /* C-h */, 0, MODEKEYEDIT_BACKSPACE }, + { '\025' /* C-u */, 0, MODEKEYEDIT_DELETELINE }, { '\011' /* Tab */, 0, MODEKEYEDIT_COMPLETE }, { '\033' /* Escape */, 0, MODEKEYEDIT_SWITCHMODE }, { '\r', 0, MODEKEYEDIT_ENTER }, |