On 09/02/17 21:04, Brian Bennett wrote:
> Does alt+B, alt+F work for you?

Alt+B, alt+F open menus in my terminal windows :-).

control+B, control+F move cursor a single space in each direction. Since
regular cursor movement works, this is not (very) useful. What I want is
to move WORD by WORD. That is, you skip a complete word with a keypress.
In a regular Linux, you do that with control+cursor.

Searching online, I find escape+b, escape+f to do what I want. Nice, but
verbose, too many keystrokes.

I just added:

"""
bind '"\e[1;5D": backward-word'
bind '"\e[1;5C": forward-word'
"""

to my .bashrc, as described in
<https://unix.stackexchange.com/questions/42629/bash-how-do-i-move-my-cursor-to-the-left-a-word-at-a-time#42635>,
second answer.

You can see what actions you have with "bind -l". You can check current
binding with "bind -q action". Quite interesting stuff there.

I hope this is useful to somebody else.

Thanks for your time.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
[email protected] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:[email protected]  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

Attachment: signature.asc
Description: OpenPGP digital signature




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to