Sample Header Ad - 728x90

Differentiate Ctrl+BackSpace from BackSpace in MobaXTerm

1 vote
0 answers
183 views
I'm trying to configure zsh (.zshrc) in order to provide two different keystrokes, each one for a different action. While I need Backspace to just delete the previous character, control+backspace should be used to delete the whole previous word. Mu problem is that while I'm trying to capture the keystrokes codes via using ("Control+v" + keystroke), both seem to be the same '^H' So, is there any other way in order to capture and differentiate both keystrokes in my system? I made tests using both some virtual terminals like MobaXTerm, but I realized that it could be some tranlations inside the program, so I decided to make all the tests using the real console (directly via the vmware console).
Asked by FueraDeServicio (21 rep)
Feb 14, 2024, 07:27 PM
Last activity: Feb 15, 2024, 10:01 AM