Skip to content

Instantly share code, notes, and snippets.

@rmsj
Created September 17, 2019 20:49
Show Gist options
  • Save rmsj/a772ca9e32c0d005dd84d518895a61dd to your computer and use it in GitHub Desktop.
Save rmsj/a772ca9e32c0d005dd84d518895a61dd to your computer and use it in GitHub Desktop.
[iTerm2 Delete Key] Adjusting delete key to iTerm2 on Mac #iTerm2 #Terminal
If you are using zsh, try adding these lines to your ~/.zshrc file, then close and reopen the terminal:
bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
From: https://stackoverflow.com/questions/33270381/delete-forward-character-iterm2-osx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment