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 fbfd3cf41b
commit 64b4302b87

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