2

I'm trying to bind my backspace key to nothing in Konsole (you might ask why, well, I'm trying to get rid of the habbit of pressing Backspace and instead use Ctrl+8, which is closer to my hands).

I don't get how to bind the backspace key to nothing, i.e.:

bindkey '^H' <nothing>

Thank you.

Alex Gh
  • 55
  • 5
  • Surely this is something you want to configure in Konsole (or your window manager) itself, not `zsh`. – chepner Sep 17 '20 at 13:09

1 Answers1

4

What about binding it to the empty string with

bindkey -s "^H" ""

Works here with zsh 5.0.2.

Jens
  • 69,818
  • 15
  • 125
  • 179
  • 1
    Thank you, for some reason my mind couldn't comprehend something this simple!! I thought there would be something more complex like a in vim :). Thank you!!! – Alex Gh Sep 15 '20 at 11:31