Rails Console : ~ printed when I type the delete key
Regular OS X Terminal
- Go to Terminal > Preferences > Settings > Keyboard
- Click
Forward Delete
- Select
Send String to Shell
- Press
CTRL + ALT + d
- You want to see
\004
iTerm2
- Go to iTerm > Preferences... > Keys
- Add a
Global Shortcut Key
- Type the
delete key
as Shortcut - Select
Send Hex Codes
as Action and type0x004
- Click on OK and you're good to go
Source Pry wiki
Written by Pierre Ozoux
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Related Tags
#rails
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#