Sponsor
Now Playing
- Alix Perez – I'm Free 3 hours ago
- Alix Perez – Intersections 3 hours ago
- Alix Perez – Forsaken 3 hours ago
- Glen E Ston – Ouroboros (Original Mix) 4 hours ago
- Black Sun Empire – Everything 4 hours ago
Fixing Vi and Arrows in Insert Mode
January 20, 2010,
46 views
Recently I moved one of my sites onto another server, different installation. I noticed when i was working in Vi in insert mode my arrow keys would insert their values instead of navigating around the text. To fix this:
- Make a new file in your home directory valled .vimrc
- Inside it put in:
:set backspace=indent,eol,start
:set term=builtin_ansi
Now that global setting should be applied whenever you are working with files in vi and your cursor navigation troubles should be no more!