linux-config/roles/vim_user/tasks/main.yml
2021-10-26 14:31:52 +03:00

20 lines
386 B
YAML

- name: Install vim
become: true
package:
name: vim
state: latest
- name: Prepare vim...
file:
path: ~/.vim/autoload
state: directory
- name: Install vim Plug
get_url:
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
dest: ~/.vim/autoload/plug.vim
- name: "Copy vimrc file"
copy:
src: dotfiles/vimrc
dest: "~/.vimrc"