CommandAction returns a bindable function which executes the given command
(cmd string)
| 95 | // CommandAction returns a bindable function which executes the |
| 96 | // given command |
| 97 | func CommandAction(cmd string) BufKeyAction { |
| 98 | return func(h *BufPane) bool { |
| 99 | MainTab().CurPane().HandleCommand(cmd) |
| 100 | return false |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | var PluginCmds = []string{"install", "remove", "update", "available", "list", "search"} |
| 105 |
no test coverage detected