set syntax on vim default code example Example: set vim default editor sudo update-alternatives --config editor