Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Vim I can actually position the cursor in insert-mode using the mouse. So I assume this should (technically) also be enable-able for the bash. Is it possible? This would be quite useful at times when small changes have to be made to very long commands.

(I am using fish actually, but I guess referring to bash I reach a wider audience.)

share|improve this question
A quick solution see here:… – jm_____ Mar 13 '14 at 23:13
From "info readline" character-search Ctrl+] A character is read and point is moved to the next occurrence of that character. character-search-backward Meta+Ctrl+] A character is read and point is moved to the previous occurrence of that character... Also consider Ctrl+a to move to the beginning of line. And Ctrl+e to move to the end of line. Alt+Shift+f to move forward a word and Alt+Shift+b to move back a word. – jm_____ Mar 14 '14 at 0:24

Your Answer


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

Browse other questions tagged or ask your own question.