In Ubuntu the default text editor is vim.
I can imagine that you want to use for example nano or ed.
This is a very small how to on how to edit your default text editor in Ubuntu so you can edit for example your crontab file with your favorite text editor:
1. Open a terminal window.
2. Type: sudo update-alternatives –config editor
you will see something like this:
There are 6 alternatives which provide `editor'. Selection Alternative ----------------------------------------------- 1 /bin/ed 2 /bin/nano 3 /usr/bin/vim.tiny *+ 4 /usr/bin/vim.gnome 5 /usr/bin/mcedit-debian 6 /usr/bin/emacs21 Press enter to keep the default[*], or type selection number:
The + sign tells you which editor is the default, to edit your default editor tpye in the number of your choice and hit ENTER.
All your applications that use an editor will use the editor you’ve just selected.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.