[WIP] Editing
This commit is contained in:
@ -21,6 +21,7 @@ type Keymap struct {
|
||||
SetProject key.Binding
|
||||
Select key.Binding
|
||||
Insert key.Binding
|
||||
Undo key.Binding
|
||||
}
|
||||
|
||||
// NewKeymap creates a new Keymap.
|
||||
@ -100,5 +101,10 @@ func NewKeymap() *Keymap {
|
||||
key.WithKeys("i"),
|
||||
key.WithHelp("insert", "Insert mode"),
|
||||
),
|
||||
|
||||
Undo: key.NewBinding(
|
||||
key.WithKeys("u"),
|
||||
key.WithHelp("undo", "Undo"),
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user