Set vim as default editor

Use the alternatives system to set vim as default editor.
This commit is contained in:
Jan Dittberner 2015-10-25 18:30:27 +01:00
parent 2d3934c082
commit 4f1d14dcc6

View file

@ -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