- if len(helpBinding) > 0 {
- rightText = helpBinding + " for help "
- if sline.view.Type == vtHelp {
- rightText = helpBinding + " to close help "
+ if !sline.view.Buf.Settings["hidehelp"].(bool) {
+ if len(kmenuBinding) > 0 {
+ if globalSettings["keymenu"].(bool) {
+ rightText += kmenuBinding + ": hide bindings"
+ } else {
+ rightText += kmenuBinding + ": show bindings"
+ }