Linux: Set VIM as default editor

Posted . Visible to the public.
  1. See the list of available editors.

    root@li1298-148:~# update-alternatives --list editor

  2. Update the default to your vim installation.

    root@li1298-148:~# update-alternatives --set editor /usr/bin/vim.basic

Luis Romero
Posted by Luis Romero to Custom Exposure (2015-07-17 15:24)