Skip to content

Instantly share code, notes, and snippets.

@renews
Last active April 15, 2024 09:38
Show Gist options
  • Save renews/4a533a3025ff9a24064bab3eb47e233c to your computer and use it in GitHub Desktop.
Save renews/4a533a3025ff9a24064bab3eb47e233c to your computer and use it in GitHub Desktop.
# to install
git clone --depth 1 NVIM_CONFIG_SOURCE ~/.config/TARGET_FOLDER --depth 1
# to run:
NVIM_APPNAME=TARGET_FOLDER nvim
#alias
alias YOUR_ALIAS='NVIM_APPNAME="TARGET_FOLDER" nvim'
--- EXAMPLE NVCHAD
git clone --depth 1 https://github.com/nvchad/starter ~/.config/nvchad
NVIM_APPNAME="nvchad" nvim
alias nvchad='NVIM_APPNAME="nvchad" nvim'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment