diff options
author | Richard Russon <rich@flatcap.org> | 2016-06-04 11:31:56 -0700 |
---|---|---|
committer | Richard Russon <rich@flatcap.org> | 2016-06-04 11:31:56 -0700 |
commit | 389c74bb20b20ab31c14460962fbbb6bba82127d (patch) | |
tree | 517d42df0dc96b1379888a007bdeaee45c2d2bd6 /functions.h | |
parent | c64cf70d1befaa9e9a5396dafc1b1ae3b0a63cf9 (diff) |
Add neomutt version of sidebar patch. (closes #3829)
This is the patch from neomutt; branch 'devel/win-sidebar'; commit
c796fa85f9cacefb69b8f7d8545fc9ba71674180 with the following changes:
- move the sample muttrc and vimrc to contrib.
- remove the README.sidebar.
- empty out the PATCHES file.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 684b196a..2af8827d 100644 --- a/functions.h +++ b/functions.h @@ -168,6 +168,16 @@ const struct binding_t OpMain[] = { /* map: index */ { "decrypt-copy", OP_DECRYPT_COPY, NULL }, { "decrypt-save", OP_DECRYPT_SAVE, NULL }, +#ifdef USE_SIDEBAR + { "sidebar-next", OP_SIDEBAR_NEXT, NULL }, + { "sidebar-next-new", OP_SIDEBAR_NEXT_NEW, NULL }, + { "sidebar-open", OP_SIDEBAR_OPEN, NULL }, + { "sidebar-page-down", OP_SIDEBAR_PAGE_DOWN, NULL }, + { "sidebar-page-up", OP_SIDEBAR_PAGE_UP, NULL }, + { "sidebar-prev", OP_SIDEBAR_PREV, NULL }, + { "sidebar-prev-new", OP_SIDEBAR_PREV_NEW, NULL }, + { "sidebar-toggle-visible", OP_SIDEBAR_TOGGLE_VISIBLE, NULL }, +#endif { NULL, 0, NULL } }; @@ -272,6 +282,17 @@ const struct binding_t OpPager[] = { /* map: pager */ { "what-key", OP_WHAT_KEY, NULL }, +#ifdef USE_SIDEBAR + { "sidebar-next", OP_SIDEBAR_NEXT, NULL }, + { "sidebar-next-new", OP_SIDEBAR_NEXT_NEW, NULL }, + { "sidebar-open", OP_SIDEBAR_OPEN, NULL }, + { "sidebar-page-down", OP_SIDEBAR_PAGE_DOWN, NULL }, + { "sidebar-page-up", OP_SIDEBAR_PAGE_UP, NULL }, + { "sidebar-prev", OP_SIDEBAR_PREV, NULL }, + { "sidebar-prev-new", OP_SIDEBAR_PREV_NEW, NULL }, + { "sidebar-toggle-visible", OP_SIDEBAR_TOGGLE_VISIBLE, NULL }, +#endif + { NULL, 0, NULL } }; |