berkay-yalin / open-with-nvim

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:C# 100.0%