Gnome : Use nvim for text files by default.

This commit is contained in:
Dmitry Voronin 2024-03-04 17:59:25 +03:00
parent dce8ca1dfa
commit 3c4c69511d

View file

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