How to Set Vim as Default Editor on Ubuntu

This tutorial will show you How to Set Vim as Default Editor on Ubuntu

sudo update-alternatives --config editor

if vim was manually installed rather than in the distribution’s package, it may not show up in the list presented by update-alternatives. run following command should help fix it

sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 100

More:

https://ubuntu.com/tutorials

if you want latest update and find more tips and tricks to build your own business platform, please checkout more articles on https://www.productdeploy.com and https://blog.productdeploy.com

Share This

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
*