Getting Backspace to work normally in the Nano editor

April 25, 2008 – 10:26 pm

On many Linux configurations the Nano editor has an annoying quirk: when you hit the backspace key (regular delete on the mac), the character to the right of your cursor gets deleted instead of the one on the left. To fix this, edit the /etc/nanorc file and uncomment this line:

# set rebinddelete

so that it looks like this:

set rebinddelete

If you don’t have access to this file, you have my condolences.

I originally saw this fix here. Thanks!