From 32a95af4cddb1711c4f4e481277f10608fe7b4ec Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 29 Mar 2024 10:07:38 -0400 Subject: [PATCH] mime-apps: Open text files with neovim Note that the nvim.desktop file has to be manually patched for this to work. --- home/mime-apps.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/mime-apps.nix b/home/mime-apps.nix index 1b8eb0ad..712db271 100644 --- a/home/mime-apps.nix +++ b/home/mime-apps.nix @@ -3,6 +3,8 @@ enable = true; defaultApplications = { + "text/markdown" = "nvim.desktop"; + "text/plain" = "nvim.desktop"; "image/png" = "pqiv.desktop"; "image/jpeg" = "pqiv.desktop"; "image/gif" = "org.qutebrowser.qutebrowser.desktop";