Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 791 Bytes

move-the-cursor-to-any-position-in-a-macos-command.mdx

File metadata and controls

20 lines (16 loc) · 791 Bytes
category contributors created tags title updated
Tip
dylankenneally
2021-03-27
Command Line, macOS
Move the cursor to any position in a macOS command
2022-09-08

We often use the arrow keys to move the cursor when editing the command line on the terminal.

Imagine that the target position is somewhere in the middle of the command text, pressing the arrow keys multiple times takes time and isn't a comfortable process.

Fortunately, there is a shortcut that makes the process easier - holding down the alt key while clicking the mouse at the desired position. The following video demonstrates how to fix a typo in a command using this tip.