dotfiles/roles/vim-user-cfg/tasks/config/main.yml

18 lines
474 B
YAML

---
# Configuring vim
- name: Linking main file
ansible.builtin.file:
src: "{{ dotfdir }}/vimrc-{{ vim_rc_version }}"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vimrc"
state: link
- name: Linking main folder
ansible.builtin.file:
src: "{{ dotfdir }}/vim"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim"
state: link
- name: Installing and configuring package manager - vim-plug
ansible.builtin.import_tasks: pkgman/main.yml