From c7d4e3f0a190a6bad56701c8d3bc952799ed245b Mon Sep 17 00:00:00 2001 From: Naveen Nathan Date: Thu, 25 Apr 2019 23:38:25 +1000 Subject: [PATCH] keybindings: restore nntp change-newsgroup keybindings This restores a subset of the keybindings found in the original vvv.nntp patch that don't clash with any of neomutt defaults. Specifically: i to change-newsgroup ESC-i to change-newsgroup-readonly --- functions.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.h b/functions.h index 1c383f955..25843d113 100644 --- a/functions.h +++ b/functions.h @@ -107,8 +107,8 @@ const struct Binding OpMain[] = { /* map: index */ { "change-folder", OP_MAIN_CHANGE_FOLDER, "c" }, { "change-folder-readonly", OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" }, // #ifdef USE_NNTP - { "change-newsgroup", OP_MAIN_CHANGE_GROUP, NULL }, - { "change-newsgroup-readonly", OP_MAIN_CHANGE_GROUP_READONLY, NULL }, + { "change-newsgroup", OP_MAIN_CHANGE_GROUP, "i" }, + { "change-newsgroup-readonly", OP_MAIN_CHANGE_GROUP_READONLY, "\033i" }, #endif #ifdef USE_NOTMUCH { "change-vfolder", OP_MAIN_CHANGE_VFOLDER, NULL }, @@ -260,8 +260,8 @@ const struct Binding OpPager[] = { /* map: pager */ { "change-folder", OP_MAIN_CHANGE_FOLDER, "c" }, { "change-folder-readonly", OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" }, // #ifdef USE_NNTP - { "change-newsgroup", OP_MAIN_CHANGE_GROUP, NULL }, - { "change-newsgroup-readonly", OP_MAIN_CHANGE_GROUP_READONLY, NULL }, + { "change-newsgroup", OP_MAIN_CHANGE_GROUP, "i" }, + { "change-newsgroup-readonly", OP_MAIN_CHANGE_GROUP_READONLY, "\033i" }, #endif #ifdef USE_NOTMUCH { "change-vfolder", OP_MAIN_CHANGE_VFOLDER, NULL }, -- 2.40.0