For Dotfiles users. Updated 2026-11-27.
Result
Open text files in a terminal-backed Neovim desktop entry.
Prerequisites
A Linux desktop session, Neovim on PATH, and a terminal handler.
Steps
- Review
nvim.desktop, especially its MIME types and executable. - Compare it with
~/.local/share/applications/nvim.desktopafter your normal dotfiles bootstrap. - Use your desktop file manager to choose Neovim when opening a disposable text file.
Verification
A terminal opens the selected file in Neovim. Desktop menu discovery depends on the desktop environment.
Recovery
Restore a backed-up desktop entry if launch fails; check that the desktop session can resolve nvim.