74366d895d
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> |
||
---|---|---|
.. | ||
account | ||
compose | ||
msg | ||
msgview | ||
terminal | ||
cd.go | ||
choose.go | ||
commands.go | ||
ct.go | ||
exec.go | ||
global.go | ||
help.go | ||
history.go | ||
move-tab.go | ||
new-account.go | ||
next-tab.go | ||
pin-tab.go | ||
prompt.go | ||
pwd.go | ||
quit.go | ||
set.go | ||
term.go | ||
util.go |