Add C-o as alias of M-/

M-/ is from weechat. C-o is like in vim.
weechat-hashes
C. McEnroe 2020-02-10 20:29:19 -05:00
parent 80a79467ef
commit 3a156540b8
2 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,8 @@ Complete nick, channel or command.
Redraw the UI.
.It Ic C-n
Switch to next window.
.It Ic C-o
Switch to previously selected window.
.It Ic C-p
Switch to previous window.
.It Ic M-/

1
ui.c
View File

@ -805,6 +805,7 @@ static void keyCtrl(wchar_t ch) {
break; case L'K': edit(id, EditDeleteTail, 0);
break; case L'L': clearok(curscr, true);
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'U': edit(id, EditDeleteHead, 0);
break; case L'W': edit(id, EditDeletePrevWord, 0);