Skip to content

Commit

Permalink
feat: allow alt+v to paste too (j178#46)
Browse files Browse the repository at this point in the history
* feat: use another key to enable paste

* add ctrl+v back
  • Loading branch information
j178 authored Apr 3, 2023
1 parent 60a539a commit 7f4bb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func defaultKeyMap() keyMap {
DeleteCharacterForward: key.NewBinding(key.WithKeys("delete")),
LineStart: key.NewBinding(key.WithKeys("home", "ctrl+a")),
LineEnd: key.NewBinding(key.WithKeys("end", "ctrl+e")),
Paste: key.NewBinding(key.WithKeys("ctrl+v")),
Paste: key.NewBinding(key.WithKeys("ctrl+v", "alt+v")),
InputBegin: key.NewBinding(key.WithKeys("alt+<", "ctrl+home")),
InputEnd: key.NewBinding(key.WithKeys("alt+>", "ctrl+end")),

Expand Down

0 comments on commit 7f4bb56

Please sign in to comment.