Neovim configuration based on nvchad plugin.
See details
Windows
cd %localappdata%
git clone git@github.com/teoshibin/nvch.git
nv
Unix shell
cd ~/.config
git clone [email protected]/teoshibin/nvch.git
nv
Add the following remap for Windows terminal for <C-BS>
{
"keys": "ctrl+backspace",
"command": {
"action": "sendInput",
"input": "\u0017"
}
},
Windows powershell
function Get-Nvim-Config {
param(
[string]$ConfigName,
[Parameter(ValueFromRemainingArguments=$true)]
$args
)
$env:NVIM_APPNAME = $ConfigName
nvim $args
Remove-Item Env:\NVIM_APPNAME
}
function Get-Nvim-Chad { Get-Nvim-Config -ConfigName "nvch" $args }
New-Alias -Name nv -Value Get-Nvim-Chad -Force -Option AllScope
Unix fish
function nvim_config -a config_name
set -x NVIM_APPNAME $config_name
nvim
end
alias nv='nvim_config "nvch"'