default editor

export VISUAL=vim

Sets vim as the default editor, I think. At least, when I run:

crontab -e 

to edit the cron jobs it now opens with vim instead of nano.

more details at http://stackoverflow.com/questions/5952467/how-to-specify-a-editor-to-open-crontab-file-export-editor-vi-does-not-work

I should figure out what that export command is really doing. sending an assignment of the editor name to a control file somewhere, I assume.

Haven't successfully run a cronjob yet, though.

Comments

Popular posts from this blog

no sound in Papers Please

pdf to png/jpg/etc

To Do