Reduced the modes.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 21 Apr 2013 17:04:30 +0000 (19:04 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 21 Apr 2013 17:59:48 +0000 (19:59 +0200)
commit6a9078a39d13f2d77c804bfe205796566da56c37
treedff73b3f219a00500e7c66e0bc1711edd5404af4
parentb23d94883f5f0024b06c4097405d14207f1b5c74
Reduced the modes.

According to the vim editor, the number of mode of vimb browser are reduced.
The previous search mode and hinting mode aren't implemented as main modes
with own keybindings, they are now submodes of the normal and command mode
instead. This allow to use the already defined keybindings also for the search
and hinting mode. For example it's possible to navigate in search mode, that
was not possible before.

The searching is now more like in vim, where all the navigation commands work
in search mode too. Also if the searching is aborted by hitting <esc> the
search query keeps memorized and could be continued by command search-{forward,
backward}.
doc/vimb.1.txt
src/command.c
src/config.h
src/hints.c
src/keybind.c
src/main.c
src/main.h