Closed rew1nter closed 1 year ago
Couple options as far as I can tell:
C-h
mapping doubly fancy w/ a nested ternary type check. Something like bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'if-shell $is_zsh ...'
. To be honest I'm not even sure if that (the nested bit) would work, and if it did I'm sure the escape sequences would be maddening, but that's likely the most complete optionprefix C-h
to some other sequence which triggers backward-kill-word, similar to the notes on Restoring Clear Screen (C-l). Again, a bit messy & indirect, but might be a solution.I'm going to close this as I this isn't an issue per se, but hopefully these notes provide some direction.
This might not be the place to ask this but.. yeah
Earlier I had this in my terminal
"\C-h": backward-kill-word
to delete a word withctrl + bak
. The terminal recognizes thectrl+backspace
asctrl+h
. So the previous mapping I had is not working anymore. Is there any way to make these two work differently?