Closed davidhedlund closed 1 month ago
Use Bash's bind
for backward-kill-word
, or whatever similar feature your shell has. By default you can use Alt+Backspace or Alt+Ctrl+h.
Again, I don't think it should be much specific to the terminal app in use, it's the shell editing the command, and it's already fancy.
By default you can use Alt+Backspace or Alt+Ctrl+h.
Thank you very much.
@cwendling I changed the title and updated the top post.
@davidhedlund I still don't think this is a MATE-Terminal issue. We don't display and allow changing all Bash bindgins (just think of Ctrl+A, Ctrl+E, Alt+D, etc.), it's a property of the shell, not the terminal app.
Sure, it could send the shell commands to set up bindings, but that would need to know the shell's details (not all shells behave the same in this regards), and I ultimately don't think the terminal app should deal with this. Again, IMO you should configure your shell the way you like using the shell's facilities for this.
Ctrl+DEL
~$ bind -P | grep ^"delete-char "
delete-char can be found on "\C-d", "\e[3~".
Alt+Ctrl+h
bind -P | grep ^"backward-kill-word "
backward-kill-word can be found on "\e\C-h", "\e\C-?".
Alt+Backspace is not listed, but I will report it to the bind developers.
Implement a new text editing shortcut in mate-terminal where Shift+Delete deletes all text from the cursor position to the previous whitespace (moving left).I cannot find them: