From 14ae13f781d1ab30d648eaffbace67a9eec36c5b Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Wed, 12 Feb 2020 01:16:40 -0500 Subject: Add C-t transpose Also in emacs, weechat. --- ui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui.c') diff --git a/ui.c b/ui.c index 328db1b..e6041cc 100644 --- a/ui.c +++ b/ui.c @@ -844,9 +844,10 @@ static void keyCtrl(wchar_t ch) { break; case L'N': windowShow(windows.active->next); break; case L'O': windowShow(windows.other); break; case L'P': windowShow(windows.active->prev); + break; case L'T': edit(id, EditTranspose, 0); break; case L'U': edit(id, EditDeleteHead, 0); - break; case L'W': edit(id, EditDeletePrevWord, 0); break; case L'V': windowScroll(windows.active, -(PAGE_LINES - 2)); + break; case L'W': edit(id, EditDeletePrevWord, 0); break; case L'Y': edit(id, EditPaste, 0); } } -- cgit 1.4.1-2-gfad0