gva/salt/roots/vim/init.sls
Jan Dittberner 64b4302b87 Set vim as default editor
Use the alternatives system to set vim as default editor.
2015-10-25 18:30:27 +01:00

15 lines
247 B
Text

vim-nox:
pkg.installed
editor:
alternatives.set:
- path: /usr/bin/vim.nox
- require:
- pkg: vim-nox
/home/vagrant/.vimrc:
file.managed:
- user: vagrant
- group: vagrant
- mode: 0644
- source: salt://vim/vimrc