aerc/widgets
kt programs 74366d895d viewer: add key passthrough mode
When trying to search in less, keys bound to viewer functions can't be
used as part of the search query, which makes the search useless.

Add a view::passthrough binding mode and a :toggle-key-passthrough
command go toggle in and out of that mode. By default, typing '/' in the
viewer is bound to enabling key passthrough and automatically inserting
'/', to easily enter "less" search mode. When in the passthrough mode,
all bindings are ignored by default. The default binds.conf only defines
a single keybinding in that mode: <Esc> to get back out. $ex is bound to
<C-x> to allow typing colons.

Signed-off-by: Kt Programs <ktprograms@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-03-14 22:55:19 +01:00
..
account-wizard.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
account.go dirtree: implement foldable tree for directory list 2022-02-23 21:09:01 +01:00
aerc.go viewer: add key passthrough mode 2022-03-14 22:55:19 +01:00
common.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
compose.go all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00
dirlist.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
dirtree.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
exline.go completions: add support for completing multiple addresses 2022-01-07 13:54:10 +01:00
getpasswd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msglist.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
msgviewer.go viewer: add key passthrough mode 2022-03-14 22:55:19 +01:00
pgpinfo.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
providesmessage.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
scrollable.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
selector.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
spinner.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
status.go search/filter: display in extra status 2022-02-23 11:27:19 +01:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00