diff --git a/pkg/gui/editors.go b/pkg/gui/editors.go index 6f40c6d58..777d897d8 100644 --- a/pkg/gui/editors.go +++ b/pkg/gui/editors.go @@ -22,9 +22,9 @@ func (gui *Gui) handleEditorKeypress(textArea *gocui.TextArea, key gocui.Key, ch textArea.MoveCursorDown() case key == gocui.KeyArrowUp: textArea.MoveCursorUp() - case key == gocui.KeyArrowLeft: + case key == gocui.KeyArrowLeft || key == gocui.KeyCtrlB: textArea.MoveCursorLeft() - case key == gocui.KeyArrowRight: + case key == gocui.KeyArrowRight || key == gocui.KeyCtrlF: textArea.MoveCursorRight() case key == newlineKey: if allowMultiline {