3

When I'm not in vim, how do I go to the beginning of a line in something like Firefox search bar or Google Docs with a keyboard shortcut? How would I replicate macOS's command + arrow keybind.

I'm in 20.04.

antoine
  • 157

2 Answers2

9

Generally use the Home key to move to the beginning of input field and End key to move to the end.

You can also use Ctrl + arrow key to move direction one word at a time. For example Ctrl + Left Arrow to move to previous word.

1

In most applications you can use Emacs-style cursor motion commands:

  • beginning-of-line = Control-a
  • end-of-line = Control-e
Barmar
  • 241