diff --git a/README.md b/README.md index 1f34ff3..aeb6a6b 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ As an intermediate solution, I can just put the password in keepass... #### Neovim - More cool plugins :) -- default neovim editor - dropdown autocomplete - fzf in vim? telescope or something +- fix control+x in visual mode ## Long-term TODO diff --git a/roles/neovim/tasks/main.yml b/roles/neovim/tasks/main.yml index 79ac5eb..8d5f0a1 100644 --- a/roles/neovim/tasks/main.yml +++ b/roles/neovim/tasks/main.yml @@ -47,3 +47,10 @@ - name: Install terraform-ls apt: pkg: terraform-ls +- name: Set default applications + ini_file: + path: ~/.config/mimeapps.list + section: "Default Applications" + option: "{{ item }}" + value: "nvim.desktop" + loop: "{{ default_apps }}" diff --git a/roles/neovim/vars/main.yml b/roles/neovim/vars/main.yml new file mode 100644 index 0000000..68b25e2 --- /dev/null +++ b/roles/neovim/vars/main.yml @@ -0,0 +1,11 @@ +default_apps: + - application/x-perl + - text/plain + - text/x-chdr + - text/x-csrc + - text/x-dtd + - text/x-java + - text/mathml + - text/x-python + - text/x-sql + - text/xml