My Random Tech Stuff
Saturday, June 5, 2010
Changing Default Editor in Linux
Some tools, such as visudo use nano editor by default. This is especially true in a distro like Ubuntu while openSUSE uses vi. As a vi user, I'm more comfortable editing a file using vi. To change it, add this line in the .bashrc.
export EDITOR=vim
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment