Skip to content

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.

License

Notifications You must be signed in to change notification settings

ostromia/open-with-nvim

Repository files navigation

open-with-nvim

Introduction

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.

open-with-nvim is NOT a GUI, just a wrapper which sends commands to the terminal.

Installation

  1. Install the open-with-nvim.exe executable from the lastest Release or compile from source.

  2. 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.

  3. Set the executable as the default app for the file types you would like.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages