2 ms·
In my inputrc, for the alt-backspace example: ### Line cuts will be remapped to cmd-remove in OSX, shift-remove in Linux ## OSX: Remap with ControllerMate Cmd
by devereaux 9y ago
In my inputrc, for the alt-backspace example:
### Line cuts will be remapped to cmd-remove in OSX, shift-remove in Linux
## OSX: Remap with ControllerMate Cmd+Delete to Ctrl-k
"\e[3;2~": kill-line
## OSX: Remap with Controllermate Cmd+Backspace to Ctrl-u
"\e[9;2~": backward-kill-line
### Word cuts will be remapped to opt-remove in OSX, alt-remove in Linux
## OSX: Remap Alt+Delete with ControllerMate to Ctrl-w
"\e[3;3~": kill-word
## OSX: Remap Alt+Backspace with ControllerMate to Esc-d
"\e[9;3~": backward-kill-word