Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Mac OS X But the answer to this would probably apply to any typical UNIX-ish terminal emulator in a graphical environment.

Question -- what do I do to: Use my mouse cursor to click on a character-position in the current line of the terminal, and have the terminal's cursor jump to that spot?

Typically, you have to hold down an arrow key to move to the correct cursor position. If you're pasting in a long string of text at the shell prompt, or working in an editor like VI, this can take a long time. I know editors have other navigation keys like jump-words, but I like my mouse cursor.

share|improve this question

3 Answers 3

up vote 10 down vote accepted


 :set mouse=a
share|improve this answer

In Mac OS X Terminal, you can hold down Option (or Alt) and click, and the typing cursor will move to the mouse cursor.

share|improve this answer

Nano can do this with the '-m' argument.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.