Tech tip: restore home/end keyboard map in piaware image

After downloading the piaware image i noticed my keymaps were off. Ctrl+a, ctrl+e, home and end keys all didn’t work.

I found that at the end of /home/pi/.bashrc there was a command to set the readline to Vim bindings.

If you want to use your home and end keys, here’s the “fix”:


sudo nano /home/pi/.bashrc

Remove or comment out the very last line:


set -o vi

I’m not sure why this line is here, but it’s not a standard line in Raspbian, so it’s something custom to the image (which has annoyed me since I installed it) :slight_smile:

Hope this helps someone else!