Create configuration directories for nvim and tmux
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
ed17ed1348
commit
c83b93a64f
2 changed files with 10 additions and 5 deletions
|
@ -1,8 +1,10 @@
|
|||
---
|
||||
- name: Create init.vim
|
||||
template:
|
||||
src: templates/init.vim.j2
|
||||
dest: ~/.config/nvim/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'
|
||||
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'
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
- name: Create .tmux
|
||||
shell: mkdir -p ~/.tmux
|
||||
|
||||
- name: Clone tpm
|
||||
git:
|
||||
repo: https://github.com/tmux-plugins/tpm
|
||||
|
@ -12,4 +15,4 @@
|
|||
- name: Create tmux status configuration
|
||||
template:
|
||||
src: templates/tmux_status.conf.j2
|
||||
dest: ~/.tmux/status.conf
|
||||
dest: ~/.tmux/status.conf
|
||||
|
|
Loading…
Reference in a new issue