Moved show command to normal.c.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 7 Oct 2013 22:24:35 +0000 (00:24 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 7 Oct 2013 22:36:36 +0000 (00:36 +0200)
commitead4d171cd6ace5f9a6aa59ab15d2a8d1bde3fe1
treed1f2f0b063d061c11c1d69da5fede6102e1921bf
parent9fd3263bfd4ea794dd9eb81b763b5e94dc93ddda
Moved show command to normal.c.

We don't generate the show command for non bound mappings. This might save cpu
cycles. The show commands for the normal mode are set from the keypress
handler. So we can handle show commands like vim where an incomplete mapped
command like ':nmap foo 12g', where the '12g' should appear in show command as
incomplete command.

Now the show commands keys are displayed like in vim with <hex> for none
printable keys.
src/ascii.h
src/config.def.h
src/map.c
src/normal.c
src/normal.h