summaryrefslogtreecommitdiffstats
path: root/.local/share/applications
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-18 10:53:40 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-18 10:53:40 +0200
commitf801397a88a1463d3481d2f496d1ddd6022f3bcf (patch)
treed46b870057537533bf0b58d79147a6153dc27351 /.local/share/applications
parentb3db76b8a02711a9b7ceec612fb07a430f12a9ad (diff)
downloaddotfiles-f801397a88a1463d3481d2f496d1ddd6022f3bcf.tar.gz
dotfiles-f801397a88a1463d3481d2f496d1ddd6022f3bcf.zip
feat: add nvim application shortcut
Diffstat (limited to '.local/share/applications')
-rw-r--r--.local/share/applications/nvim.desktop17
1 files changed, 17 insertions, 0 deletions
diff --git a/.local/share/applications/nvim.desktop b/.local/share/applications/nvim.desktop
new file mode 100644
index 0000000..7f25b2e
--- /dev/null
+++ b/.local/share/applications/nvim.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Type=Application
+Name=Neovim
+GenericName=Text Editor
+Comment=Edit text files
+Keywords=Text;editor;
+Categories=Utility;TextEditor;Development;
+Icon=nvim
+
+# Hardcode foot instead of Terminal=true to avoid depending on KDE's default-terminal setting.
+TryExec=foot
+Exec=foot -- nvim %F
+Terminal=false
+StartupNotify=false
+
+# Extends upstream runtime/nvim.desktop with markdown/yaml/toml/json/lua/python/rust/go/etc.
+MimeType=text/plain;text/english;text/markdown;text/x-makefile;text/x-cmake;text/x-c;text/x-chdr;text/x-csrc;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-java;text/x-pascal;text/x-tcl;text/x-tex;text/x-moc;text/x-lua;text/x-python;text/x-ruby;text/x-go;text/x-rust;text/x-shellscript;text/x-script.python;text/css;text/html;text/xml;text/yaml;application/json;application/toml;application/x-yaml;application/x-shellscript;application/x-desktop;application/xml;