default text editor to neovim
This commit is contained in:
parent
cbae9439e3
commit
c093037763
3 changed files with 19 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
11
roles/neovim/vars/main.yml
Normal file
11
roles/neovim/vars/main.yml
Normal 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
|
Reference in a new issue