personal neovim settings based on the starter template for LazyVim. Refer to the documentation to get started.
git clone https://github.com/mizma/nvimrc.git %LOCALAPPDATA%\nvim && nvim
Some pre-requisites should be installed as well.
choco install llvm zig ripgrep git lazygit fd
Install Nerdfont compatible fonts. For Japanese support, HackGen NF can be used.
You can install using chocolatey in Windows.
choco install font-hackgen-nerd
On Arch, install aur package ttf-hackgen
yay -Sy ttf-hackgen
git clone https://github.com/mizma/nvimrc.git ~/.config/nvim && nvim
Only notable changes to the LazyVim is described below.
Replaced with zenhan for windows usage. May be added in future for Linux/MacOS
im-select must be installed prior to use.
Prerequisite is to install clang or zig compilers.
choco install llvm
choco install zig
Compiler option is overridden.
spzenhan.exe must be available in the %PATH%.
Resources I refered to other than the plugin documents are as follows.
- https://www.youtube.com/watch?v=zHTeCSVAFNY&list=PLsz00TDipIffreIaUNk64KxTIkQaGguqn
- https://github.com/NvChad/NvChad
- https://github.com/nvim-lua/kickstart.nvim
To add context menu, use the following (edited to be compatible with chocolaty neovim install). Original registry is here
Windows Registry Editor Version 5.00
;; Neovim-Qt
[HKEY_CLASSES_ROOT\*\shell\nvim-qt]
@="Edit with Neovim-Qt"
"Icon"="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\""
[HKEY_CLASSES_ROOT\*\shell\nvim-qt\command]
@="\"C:\\tools\\neovim\\nvim-win64\\bin\\vim-qt.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\nvim-qt]
@="Open with Neovim-Qt"
"Icon"="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\""
[HKEY_CLASSES_ROOT\Directory\shell\nvim-qt\command]
@="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\nvim-qt]
@="Open Neovim-Qt here"
"Icon"="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\nvim-qt\command]
@="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\" \"%v\""
;; NeoVim
[HKEY_CLASSES_ROOT\*\shell\nvim]
@="Edit with Neovim"
"Icon"="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\""
[HKEY_CLASSES_ROOT\*\shell\nvim\command]
@="wt -p \"Windows PowerShell\" --title Neovim C:\\tools\\neovim\\nvim-win64\\bin\\nvim.exe \"%1\""
[HKEY_CLASSES_ROOT\directory\shell\nvim]
@="Open with Neovim"
"Icon"="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\""
[HKEY_CLASSES_ROOT\directory\shell\nvim\command]
@="wt -p \"Windows PowerShell\" --title Neovim C:\\tools\\neovim\\nvim-win64\\bin\\nvim.exe \"%v\""
[HKEY_CLASSES_ROOT\directory\background\shell\nvim]
@="Open Neovim here"
"Icon"="\"C:\\tools\\neovim\\nvim-win64\\bin\\nvim-qt.exe\""
[HKEY_CLASSES_ROOT\directory\background\shell\nvim\command]
@="wt -p \"Windows PowerShell\" --title Neovim C:\\tools\\neovim\\nvim-win64\\bin\\nvim.exe \"%v\""