Insert Cursor at Any Position at Command Line
Publikováno: 11.3.2021
As much as I enjoy writing lengthy pieces of JavaScript APIs, techniques, and other tech brilliance, I very much enjoy providing people quick tips to make their daily dev lives better. This is one such post. Oftentimes I’m working with long command line directives, and as you can imagine, I usually screw up the spelling […]
The post Insert Cursor at Any Position at Command Line appeared first on David Walsh Blog.
As much as I enjoy writing lengthy pieces of JavaScript APIs, techniques, and other tech brilliance, I very much enjoy providing people quick tips to make their daily dev lives better. This is one such post.
Oftentimes I’m working with long command line directives, and as you can imagine, I usually screw up the spelling of a command. Despite being in the industry forever, I didn’t know you could click your way to the character position of the problem; I simply held the left or right arrow keys like an absolute caveman.
Did you know…to get to the specific character in the command, you can simply Option-click the character in the command line!
This isn’t even clever, I was just to lazy to ever look it up. Huh. Well, now I know, and so do you!
The post Insert Cursor at Any Position at Command Line appeared first on David Walsh Blog.