dotfiles/tasks/vim.yml
Jake Howard e4670882f1
Add custom gvimrc
gvim has a light background, so the "default" theme is light, which is painful.
2021-07-01 22:50:08 +01:00

31 lines
537 B
YAML

- name: Install vim
aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- gvim
- name: Install vimrc
copy:
src: ./files/vimrc
dest: "{{ home }}/.vimrc"
mode: 0644
owner: "{{ user }}"
group: users
- name: Install gvimrc
template:
src: ./files/gvimrc
dest: "{{ home }}/.gvimrc"
mode: 0644
owner: "{{ user }}"
group: users
- name: Install vimrc for root user
copy:
src: ./files/vimrc
dest: /root/.vimrc
mode: 0644
owner: root
group: users