From e4670882f1a3d592cf5df4cecd45309f432f756c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 1 Jul 2021 22:50:08 +0100 Subject: [PATCH] Add custom gvimrc gvim has a light background, so the "default" theme is light, which is painful. --- files/gvimrc | 4 ++++ tasks/vim.yml | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 files/gvimrc diff --git a/files/gvimrc b/files/gvimrc new file mode 100644 index 0000000..73667cf --- /dev/null +++ b/files/gvimrc @@ -0,0 +1,4 @@ +{% include "vimrc" %} + +" Override the color scheme. gvim has a light background by default +colo slate diff --git a/tasks/vim.yml b/tasks/vim.yml index e68c1af..7be79b6 100644 --- a/tasks/vim.yml +++ b/tasks/vim.yml @@ -14,6 +14,14 @@ owner: "{{ user }}" group: users +- name: Install gvimrc + template: + src: ./files/gvimrc + dest: "{{ home }}/.gvimrc" + mode: 0644 + owner: "{{ user }}" + group: users + - name: Install vimrc for root user copy: src: ./files/vimrc