Insert Cursor at Any Position at Command Line

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!

  • Image Protection Using PHP, the GD Library, JavaScript, and XHTML
  • Multi-Select Transfers Using MooTools 1.2

Leave a comment

Your email address will not be published.