default text editor to neovim

This commit is contained in:
Pim Kunis 2023-02-01 18:46:38 +01:00
parent cbae9439e3
commit c093037763
3 changed files with 19 additions and 1 deletions

View file

@ -29,9 +29,9 @@ As an intermediate solution, I can just put the password in keepass...
#### Neovim #### Neovim
- More cool plugins :) - More cool plugins :)
- default neovim editor
- dropdown autocomplete - dropdown autocomplete
- fzf in vim? telescope or something - fzf in vim? telescope or something
- fix control+x in visual mode
## Long-term TODO ## Long-term TODO

View file

@ -47,3 +47,10 @@
- name: Install terraform-ls - name: Install terraform-ls
apt: apt:
pkg: terraform-ls pkg: terraform-ls
- name: Set default applications
ini_file:
path: ~/.config/mimeapps.list
section: "Default Applications"
option: "{{ item }}"
value: "nvim.desktop"
loop: "{{ default_apps }}"

View file

@ -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