Set vim as default editor
Use the alternatives system to set vim as default editor.
This commit is contained in:
parent
2d3934c082
commit
4f1d14dcc6
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