dotfiles/playbooks/roles/shell/tasks/nvim.yml
Matej Focko c83b93a64f
Create configuration directories for nvim and tmux
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-10-11 20:35:49 +02:00

10 lines
365 B
YAML

---
- name: Create init.vim
block:
- shell: mkdir -p ~/.config/nvim
- template:
src: templates/init.vim.j2
dest: ~/.config/nvim/init.vim
- name: Install vim-plug
shell: sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'