Add showkey command

This commit is contained in:
Zachary Yedidia
2017-12-03 13:05:46 -05:00
parent 3ca55f77a6
commit 2ae9f88eaa
4 changed files with 43 additions and 0 deletions

View File

@@ -85,6 +85,11 @@ Here are the possible commands that you can use.
the terminal and helps you see which bindings aren't possible and why. This
is most useful for debugging keybindings.
* `showkey`: Show the action(s) bound to a given key. For example
running `> showkey CtrlC` will display `main.(*View).Copy`. Unfortuately
showkey does not work well for keys bound to plugin actions. For those
it just shows "LuaFunctionBinding."
---
The following commands are provided by the default plugins: