A simple wrapper to set Neovim as the default application on Windows for text files with support for opening files in tabs instead of in separate windows.
Simply setting the nvim.exe
executable as the default application will open a new instance of Neovim for each file,
whereas open-with-nvim allows for all files opened through File Explorer to spawn within a single instance of Neovim.
This allows Neovim to inherit the tab functionality of Windows Notepad whilst remaining completely within the terminal.
-
Install the
open-with-nvim.exe
executable from the lastest Release or compile from source. -
Place the executable inside
%LocalAppData%\nvim-data\
.open-with-nvim.exe
is a standalone executable and can actually be placed anywhere,%LocalAppData%\nvim-data\
is just a reccomendation. -
Set the executable as the default app for the file types you would like.