aerc/commands
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 commands: implement fuzzy completion for commands and options 2022-03-07 10:18:50 +01:00
compose all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00
msg all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00
msgview viewer: add key passthrough mode 2022-03-14 22:55:19 +01:00
terminal go.mod: change base git url 2021-11-05 10:21:45 +01:00
cd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
choose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
commands.go commands: implement fuzzy completion for commands and options 2022-03-07 10:18:50 +01:00
ct.go commands: implement fuzzy completion for commands and options 2022-03-07 10:18:50 +01:00
exec.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
move-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
new-account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pin-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
prompt.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pwd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
quit.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
set.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
term.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
util.go commands: implement fuzzy completion for commands and options 2022-03-07 10:18:50 +01:00