Every time I install Ubuntu I end up struggling with changing the default editor to use vi or vim.
If only I’d found this page before!
So simple!
All you have to do is run (as root): update-alternatives --config editor
I’ve never really gotten a handle on Vi/Vim or the alternative ones. I’ve been sticking to plain old pico, or when needed xemacs.
Can anyone recommend a good Vi intro sheet ?
Donncha O Caoimh says
Thanks for posting Michele – I just reinstalled and checking stuff into svn and it brought up Nano. *shudder* The horror of it!
michele says
Donncha
Until I found this tip I kept having to edit each user profile manually – it was wrecking my head!
paul says
I’ve never really gotten a handle on Vi/Vim or the alternative ones. I’ve been sticking to plain old pico, or when needed xemacs.
Can anyone recommend a good Vi intro sheet ?
michele says
Paul
Search my archives – you might find something useful!
Pico is so .. I’m trying to find a word …