Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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.