Set vim as default editor
Use the alternatives system to set vim as default editor.
This commit is contained in:
parent
fbfd3cf41b
commit
64b4302b87
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
vim-nox:
|
||||
pkg.installed
|
||||
|
||||
editor:
|
||||
alternatives.set:
|
||||
- path: /usr/bin/vim.nox
|
||||
- require:
|
||||
- pkg: vim-nox
|
||||
|
||||
/home/vagrant/.vimrc:
|
||||
file.managed:
|
||||
- user: vagrant
|
||||
|
|
Loading…
Reference in a new issue