Make forward delete work in irb (on a mac)
Here’s how to rid yourself of these annoying ~~~~ characters you keep typing into irb because forward delete doesn’t work:
- Open Terminal > Preferences > Settings > Keyboard
- Double click on “forward delete”
- Change the action string from \033[3~ to \004
(Source: 21croissants.com)