dotfiles/roles/vim-user-cfg/tasks/config/pkgman/installation.yml

21 lines
500 B
YAML

---
- name: Creating autoload dir
ansible.builtin.file:
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload"
state: directory
mode: '0755'
tags:
- vim-plug
- vim-plug-install
- name: Installing vim-plug from git
ansible.builtin.get_url:
url: "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload/plug.vim"
mode: '0644'
tags:
- vim-plug
- vim-plug-install