Feat: Install neovim and set in Choux

This commit is contained in:
Bertrand Benjamin 2020-05-26 09:10:35 +02:00
parent 3bf5ca190d
commit ad4c081b62
3 changed files with 6 additions and 4 deletions

View File

@ -55,6 +55,8 @@
- profanity
- neomutt
- youtube-dl
- neovim
- python-pynvim
state: present
when: not minimal or not server

View File

@ -81,6 +81,7 @@
register: fishplugin
# Vim config
#
- name: dotfiles -- Copy .vim/
copy:
src: files/dotfiles/vim/
@ -88,14 +89,12 @@
owner: "{{ item.username }}"
group: "{{ item.group }}"
with_items: "{{ me }}"
when: editor == 'vim'
- name: dotfiles -- Creates .vim/autoload/
file:
path: /home/{{ item.username }}/.vim/autoload/
state: directory
with_items: "{{ me }}"
when: editor == 'vim'
- name: dotfiles -- Download plug.vim
get_url:
@ -104,7 +103,6 @@
owner: "{{ item.username }}"
group: "{{ item.group }}"
with_items: "{{ me }}"
when: editor == 'vim'
- name: dotfiles -- Copy vimrc
template:
@ -113,8 +111,8 @@
owner: "{{ item.username }}"
group: "{{ item.group }}"
with_items: "{{ me }}"
when: editor == 'vim'
# Neovim config
- name: dotfiles -- Copy nvim config
copy:
src: files/dotfiles/nvim
@ -134,6 +132,7 @@
when: editor == 'nvim'
# Alacritty terminal
- name: dotfiles -- Copy alacritty config
copy:
src: files/dotfiles/alacritty

View File

@ -1,5 +1,6 @@
---
prompt: fish
editor: nvim
deploy_public_key: id_ed25519_home.pub