From b6979e2d2cb1fe60e94beec0075ed55a26069595 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 8 Jul 2014 20:25:09 +0100 Subject: Add docstring for normal mode commands and display them if autoinfo >= 2 --- src/normal.hh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/normal.hh') diff --git a/src/normal.hh b/src/normal.hh index c35027ce..afd8840c 100644 --- a/src/normal.hh +++ b/src/normal.hh @@ -11,7 +11,13 @@ namespace Kakoune class Context; -using KeyMap = std::unordered_map>; +struct NormalCmdDesc +{ + const char* docstring; + std::function func; +}; + +using KeyMap = std::unordered_map; extern KeyMap keymap; } -- cgit v1.2.3