Create configuration directories for nvim and tmux

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-10-11 20:33:50 +02:00
parent ed17ed1348
commit c83b93a64f
No known key found for this signature in database
GPG key ID: 8535F3BCF69B3D69
2 changed files with 10 additions and 5 deletions

View file

@ -1,8 +1,10 @@
--- ---
- name: Create init.vim - name: Create init.vim
template: block:
src: templates/init.vim.j2 - shell: mkdir -p ~/.config/nvim
dest: ~/.config/nvim/init.vim - template:
src: templates/init.vim.j2
dest: ~/.config/nvim/init.vim
- name: Install vim-plug - 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' 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'

View file

@ -1,4 +1,7 @@
--- ---
- name: Create .tmux
shell: mkdir -p ~/.tmux
- name: Clone tpm - name: Clone tpm
git: git:
repo: https://github.com/tmux-plugins/tpm repo: https://github.com/tmux-plugins/tpm