Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 1.03 KB

README.md

File metadata and controls

70 lines (52 loc) · 1.03 KB

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 [email protected]/teoshibin/nvch.git
nv

Terminals

Add the following remap for Windows terminal for <C-BS>

{
    "keys": "ctrl+backspace",
    "command": {
        "action": "sendInput",
        "input": "\u0017"
    }
},

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