search/config: configurable key bindings for (scrollback) search mode

This commit is contained in:
Daniel Eklöf 2020-07-29 17:27:01 +02:00
parent c1653c7237
commit 919f31ffcb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 213 additions and 9 deletions

18
footrc
View file

@ -63,5 +63,23 @@
# pipe-visible=[sh -c "xurls | bemenu | xargs -r firefox"] none
# pipe-scrollback=[sh -c "xurls | bemenu | xargs -r firefox"] none
[search-bindings]
# cancel=Control+g Escape
# commit=Return
# find-prev=Control+r
# find-next=Control+s
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# extend-to-word-boundary=Control+w
# extend-to-next-whitespace=Control+Shift+W
[mouse-bindings]
# primary-paste=BTN_MIDDLE