teoshibin / nvch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neovim Config

Neovim configuration based on nvchad plugin.

Plugin Details

See details

Installation

Windows

cd %localappdata%
git clone git@github.com/teoshibin/nvch.git
nv

Unix shell

cd ~/.config
git clone git@github.com/teoshibin/nvch.git
nv

Aliases

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"'

About


Languages

Language:Lua 100.0%