Is this possible to change the behavior for alt+f
and alt+b
in terminal and other applications. I have them currently set to forward word and backword word, respectively. I'd like them to respect underscores but I didn't know if this was possible and thought maybe modifying the readline package could get it to work in terminal.
Asked
Active
Viewed 143 times
0

J Spen
- 2,614
- 4
- 26
- 41
-
If you are interested in custom-tailoring your own function, then here is something to get you going: http://stackoverflow.com/q/18675201/2112489 I've been using it for the past year as-is. – lawlist May 12 '16 at 05:08
-
@lawlist Sorry I meant outside emacs how to get this behavior. – J Spen May 12 '16 at 07:07
-
@JSpen The version of iTerm2 I used is Build 2.9.20160313, it seems ```alt+f/b``` respect underscores and other special characters already in bash... – sel-fish Jun 10 '16 at 03:09