readline - Use mouse to move cursor in terminal -


suppose write line this:

find somedir -flag1 opt1 -flag2 opt2 -flag3 opt3 -flag4 opt4 -flag5 opt5 -flag6 opt6 -flag7 opt7 -flag8 opt8 -flag9 opt9 | xargs command ...

then need make change opt6, using keyboard, need press go start, 15 times there (off-by-one? me, wish learned count).

or, if know little bit emacs, i'd press , enter 14, bring me space after opt6.

or, set -o vi press start command mode prefix f or t or uppercase cousin inaccurate count there. doubt vimmer this, use easymotion that.

sometimes don't feel counting , eyes hurt staring dumb terminal. left click wonderful, mouse can select text in terminal. however, when running vim in terminal, can use mouse move around(set mouse=a). if mouse available vim, why cannot used in terminal?

ps: system ubuntu 12.04.

try adding .emacs file:

(xterm-mouse-mode t) 

see also: how can mouse selection work in emacs , iterm2 on mac?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -