Experimental support for key combos
commitc1def710d755828a16831353f613ed9cd7e2eb4f
authorJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 7 May 2014 01:04:23 +0000 (6 21:04 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 11 Mar 2015 16:29:45 +0000 (11 12:29 -0400)
treec28177ffbfe6544de9f58f8ff43688de473441bd
parent655b671b9604008e4e5887b10e867c9d7b950213
Experimental support for key combos

Adds experimental support for key combos. Key combos are read using a
new input handler. For each key it scans all key bindings for matches.
If an exact match is found that binding is triggered else it will wait
for the next key.

For Vim users sourcing contrib/vim.tigrc from their ~/.tigrc should make
them feel more at home. Next step will be to move option toggles to use
an 'o' prefix as suggested in issue #272.

Fixes #67
Fixes #273
Fixes #351
NEWS.adoc
contrib/vim.tigrc [new file with mode: 0644]
include/tig/display.h
include/tig/keys.h
src/display.c
src/keys.c
src/options.c
src/prompt.c
src/tig.c
test/tigrc/compat-error-test
test/tigrc/parse-test