SetKeybinding creates a new keybinding. If viewname equals to "" (empty string) then the keybinding will apply to all views. key must be a rune or a Key.
SetKeybinding is referenced in 15 repositoriesgithub.com/jameycribbs/cribbnotes_cui
- 30 references in kbFunctions/keybindingsVim.go
- 17 references in kbFunctions/keybindingsNonVim.go
- 13 references in kbFunctions/keybindingsCommon.go
- 44 references in report/tui.go
- 7 references in example/cui/ui.go