Skip to content

Instantly share code, notes, and snippets.

@andersonfreitas
Forked from sandinist/gist:1659881
Created September 26, 2012 18:47
Show Gist options
  • Save andersonfreitas/3789796 to your computer and use it in GitHub Desktop.
Save andersonfreitas/3789796 to your computer and use it in GitHub Desktop.
forward-delete in IRB and ZSH

iTerm2

  • Go to iTerm > Preferences... > Keys
  • Add a Global Shortcut Key
  • Type the delete key as Shortcut
  • Select Send Hex Codes as Action and type 0x004
  • Click on OK and you're good to go

zsh

bindkey "^D" delete-char
@RulerOf
Copy link

RulerOf commented Feb 2, 2023

Thank you for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment