readline: add alt+arrow to move by word default binding. Common on macOS
This commit is contained in:
parent
6e4376e44e
commit
e673747ef4
@ -41,7 +41,9 @@ func default_shortcuts() *ShortcutMap {
|
|||||||
|
|
||||||
sm.AddOrPanic(ActionMoveToEndOfWord, "alt+f")
|
sm.AddOrPanic(ActionMoveToEndOfWord, "alt+f")
|
||||||
sm.AddOrPanic(ActionMoveToEndOfWord, "ctrl+right")
|
sm.AddOrPanic(ActionMoveToEndOfWord, "ctrl+right")
|
||||||
|
sm.AddOrPanic(ActionMoveToEndOfWord, "alt+right")
|
||||||
sm.AddOrPanic(ActionMoveToStartOfWord, "ctrl+left")
|
sm.AddOrPanic(ActionMoveToStartOfWord, "ctrl+left")
|
||||||
|
sm.AddOrPanic(ActionMoveToStartOfWord, "alt+left")
|
||||||
sm.AddOrPanic(ActionMoveToStartOfWord, "alt+b")
|
sm.AddOrPanic(ActionMoveToStartOfWord, "alt+b")
|
||||||
|
|
||||||
sm.AddOrPanic(ActionCursorLeft, "left")
|
sm.AddOrPanic(ActionCursorLeft, "left")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user