-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvim.sls
44 lines (37 loc) · 872 Bytes
/
vim.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
vim:
pkg.installed:
- pkgs:
- vim-X11
- vim-common
- vim-enhanced
- vim-minimal
/home/.vim/autoload:
file.directory:
- user: root
- makedirs: True
/home/.vim/bundle:
file.directory:
- user: root
- makedirs: True
git-vim-pathogen:
git.latest:
- name: https://github.com/tpope/vim-pathogen.git
- target: /root/home/.vim/autoload
git-salt-vim:
git.latest:
- name: https://github.com/saltstack/salt-vim.git
- target: /root/home/.vim/bundle
git-clone:
git.latest:
- name: https://github.com/saltstack/salt-vim.git
- branch: master
- target: /root/home/.vim/bundle
/root/home/.vimrc:
file.managed:
- makedirs: True
- contents:
- set nocompatible
- filetype plugin indent on
- syntax on
- execute pathogen#infect()
- let g:sls_use_jinja_syntax = 1