3 ms·
Worth a mention is that you can customize how Readline handles these sorts of shortcuts in your ~/.inputrc file. For example, I use forward and backward by wor
by telemachos 14y ago
Worth a mention is that you can customize how Readline handles these sorts of shortcuts in your ~/.inputrc file. For example, I use forward and backward by word far more often than by character, so I do this:
$if Bash
# various other stuff left out
# easier back and forth by word
"\C-b": backward-word
"\eb": backward-char
"\C-f": forward-word
"\ef": forward-char
$endif
For more examples and syntax, see http://docs.freebsd.org/info/readline/readline.info.Sample_Init_File.html http://docs.freebsd.org/info/readline/readline.info.Sample_I... and http://docs.freebsd.org/info/readline/readline.info.Readline_Init_File.html http://docs.freebsd.org/info/readline/readline.info.Readline....