Gnome : Use nvim for text files by default.
This commit is contained in:
parent
dce8ca1dfa
commit
3c4c69511d
|
@ -12,9 +12,11 @@ in {
|
||||||
|
|
||||||
# Specify default apps.
|
# Specify default apps.
|
||||||
xdg.mime.defaultApplications = {
|
xdg.mime.defaultApplications = {
|
||||||
|
# Use `xdg-mime query default "text/plain"` to find out.
|
||||||
"image/png" = "org.gnome.Loupe.desktop";
|
"image/png" = "org.gnome.Loupe.desktop";
|
||||||
"image/jpeg" = "org.gnome.Loupe.desktop";
|
"image/jpeg" = "org.gnome.Loupe.desktop";
|
||||||
"image/jxl" = "org.gnome.Loupe.desktop";
|
"image/jxl" = "org.gnome.Loupe.desktop";
|
||||||
|
"text/plain" = "nvim.desktop"
|
||||||
};
|
};
|
||||||
|
|
||||||
# Disable some apps.
|
# Disable some apps.
|
||||||
|
|
Loading…
Reference in a new issue