Skip to content

Instantly share code, notes, and snippets.

@DungGramer
Created March 23, 2022 13:24
Show Gist options
  • Save DungGramer/9b4780cb720ff9bfafe87cc1ddfdb911 to your computer and use it in GitHub Desktop.
Save DungGramer/9b4780cb720ff9bfafe87cc1ddfdb911 to your computer and use it in GitHub Desktop.
Config NeoVim for Windows
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\NeoVim]
@="Open with NeoVim"
"Icon"="C:\tools\neovim\Neovim\bin\nvim-qt.exe,0"
[HKEY_CLASSES_ROOT\*\shell\NeoVim\command]
@="\"C:\tools\neovim\Neovim\bin\nvim-qt.exe\" \"%1\""
; This will make it appear when you right click ON a folder
[HKEY_CLASSES_ROOT\Directory\shell\NeoVim]
@="Open Folder as NeoVim"
"Icon"="\"C:\tools\neovim\Neovim\bin\nvim-qt.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\NeoVim\command]
@="\"C:\tools\neovim\Neovim\bin\nvim-qt.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
[HKEY_CLASSES_ROOT\Directory\Background\shell\NeoVim]
@="Open Folder as NeoVim"
"Icon"="\"C:\tools\neovim\Neovim\bin\nvim-qt.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\NeoVim\command]
@="\"C:\tools\neovim\Neovim\bin\nvim-qt.exe\" \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment