Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Editor ¶
type Editor struct { KeyBindings map[*keyViewPair]*KeyBinding State *editorState // contains filtered or unexported fields }
Editor is the hunk editor UI
type KeyBinding ¶
type KeyBinding struct { View string Handler func(*gocui.Gui, *gocui.View) error Key interface{} Modifier gocui.Modifier Display string Description string }
KeyBinding structs is helpful for not re-writinh the same function over and over again. it hold useful values to generate a controls view
Click to show internal directories.
Click to hide internal directories.