Linux: Set VIM as default editor
-
See the list of available editors.
root@li1298-148:~# update-alternatives --list editor
-
Update the default to your vim installation.
root@li1298-148:~# update-alternatives --set editor /usr/bin/vim.basic
See the list of available editors.
root@li1298-148:~# update-alternatives --list editor
Update the default to your vim installation.
root@li1298-148:~# update-alternatives --set editor /usr/bin/vim.basic