Quote:
Originally Posted by chesss
Hi,
1.In GUI apps , one can use ctrl+arrowkeys to jump between words.
How can Enable this in my terminal or shell .
Note that I just want the jumping ability, I am ok if it is binded to some other shortcut.
|
That's another emacs key-binding. Alt+b goes back a
word, Alt+F goes forward (in bash by default; you could
make bash use vi bindings).
Quote:
Originally Posted by chesss
2. Now this should be simple, but is still giving me plenty of pains. How to select & copy text in the terminal without touching the mouse?
According to this page : http://www.pcplus.co.uk/tutorials/li...ue_text_editor , ctrl+sapcebar should allow text selection in terminal.
But it ain't working. Ctrl+w and other emacs bindkeys are working.
Please help me fix this
|
The article you're referring to doesn't (I only glanced over it)
mention that those should work in any terminal? It says that
emacs key-bindings work in emacs, whether you run the X
version or the nox-version of it.
As for the functionality you're after: bashs read-line doesn't
offer it by default, you'll need to define your own key-bindings
for that. Have a read in 'man bash', search for readline (/^READLINE),
and read thoroughly :}
Cheers,
Tink