From e3cfde6d07cc8b52b46745609c18b3dc79883511 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 3 Mar 2017 16:51:29 +0000 Subject: Add docstring support for mappings, and use them in autoinfo Fixes #105 Fixes #1100 Closes #1165 --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index 3c72e66d..30851fdb 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1453,7 +1453,7 @@ void InputHandler::handle_key(Key key) not m_context.keymaps_disabled()) { ScopedSetBool disable_history{context().history_disabled()}; - for (auto& k : keymaps.get_mapping(key, keymap_mode)) + for (auto& k : keymaps.get_mapping(key, keymap_mode).keys) current_mode().handle_key(k); } else -- cgit v1.2.3