gvasalt/roots/vim/init.sls
Jan Dittberner 4f1d14dcc6 Set vim as default editor
Use the alternatives system to set vim as default editor.
2016-01-31 21:08:32 +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