author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 8 Jun 2006 00:03:16 +0000 (02:03 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Thu, 8 Jun 2006 00:03:16 +0000 (02:03 +0200) | ||
commit | 04e2b7b214944044250edfea5634cbf919473cf4 | |
tree | 286f59a0706b8e8964fd174b8e05ef21856d3b7a | tree | snapshot |
parent | 93a97d864dc8d4fa2ae51a4cb2d742e4ae9d2320 | commit | diff |
Add support for keybindings
The syntax is
bind <keymap> <key> <request>
Keybindings are resolved by first looking in the keymap of the active view,
then in the generic keymap, and finally in the built-in default keybindings.
Examples to put in ~/.tigrc:
bind main w scroll-line-up
bind main s scroll-line-down
bind diff a previous
bind diff d next
bind diff b move-first-line
bind generic g view-next
The syntax is
bind <keymap> <key> <request>
Keybindings are resolved by first looking in the keymap of the active view,
then in the generic keymap, and finally in the built-in default keybindings.
Examples to put in ~/.tigrc:
bind main w scroll-line-up
bind main s scroll-line-down
bind diff a previous
bind diff d next
bind diff b move-first-line
bind generic g view-next
tig.c | diff | blob | history | |
tigrc | diff | blob | history |