diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-10-08 00:24:35 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-10-08 00:36:36 +0200 |
commit | ead4d171cd6ace5f9a6aa59ab15d2a8d1bde3fe1 (patch) | |
tree | d1f2f0b063d061c11c1d69da5fede6102e1921bf /src/normal.h | |
parent | 9fd3263bfd4ea794dd9eb81b763b5e94dc93ddda (diff) |
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.
Diffstat (limited to 'src/normal.h')
-rw-r--r-- | src/normal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.h b/src/normal.h index 8060d2c..4da01cc 100644 --- a/src/normal.h +++ b/src/normal.h @@ -28,5 +28,6 @@ typedef struct NormalCmdInfo_s NormalCmdInfo; void normal_enter(void); void normal_leave(void); VbResult normal_keypress(int key); +void normal_showcmd(int c); #endif /* end of include guard: _NORMAL_H */ |