Categories
nix

Putty and vi

I do most of my text editing on *nix in vim. Sometimes you don’t have access to vim so you have to use vi. No big deal, but for some installs map the arrow keys to letters on the keyboard. Hitting up tends to type a capitol A. It’s usually easy to fix though.

Start by moving to your home directory

cd ~

Then create a file called .vimrc and put the text “set nocompatible” in it.

echo "set nocompatible" > .vimrc

Open vi again and it should be fixed.

-Sean

Avatar photo

By Sean McMahon

Welcome to my blog. I've been into tinkering, fixing, modding, and learning for as long as I can remember and now I'd like to share some of what I've found with you!

Leave a Reply

Your email address will not be published. Required fields are marked *