From 730fa23871a80f37535634a39c2d25dde315b13e Mon Sep 17 00:00:00 2001 From: histalek Date: Mon, 16 Sep 2024 15:38:39 +0200 Subject: [PATCH] feat(xdg): Add nvim desktop file This allows me to set nvim as the default for mimetypes such as `text/plain`. --- .local/share/applications/nvim.desktop | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .local/share/applications/nvim.desktop diff --git a/.local/share/applications/nvim.desktop b/.local/share/applications/nvim.desktop new file mode 100644 index 0000000..e8b89ed --- /dev/null +++ b/.local/share/applications/nvim.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=NeoVim Text Editor +Comment=Edit text files +Exec=nvim +Terminal=true +Type=Application +Icon=terminal +Categories=Utility;TextEditor; +StartupNotify=true +MimeType=text/plain;