Add keymenu

This commit is contained in:
Zachary Yedidia
2019-01-16 18:37:45 -05:00
parent 254b892a3b
commit 212b0f8c71
4 changed files with 41 additions and 17 deletions

View File

@@ -1012,6 +1012,8 @@ func (h *BufHandler) ToggleHelp() bool {
// ToggleKeyMenu toggles the keymenu option and resizes all tabs
func (h *BufHandler) ToggleKeyMenu() bool {
config.GlobalSettings["keymenu"] = !config.GetGlobalOption("keymenu").(bool)
Tabs.Resize()
return false
}