Skip to content

Instantly share code, notes, and snippets.

@iambryancs
Created May 4, 2023 04:13
Show Gist options
  • Save iambryancs/7c566f27167aaeb9d89249ed191dc0e1 to your computer and use it in GitHub Desktop.
Save iambryancs/7c566f27167aaeb9d89249ed191dc0e1 to your computer and use it in GitHub Desktop.
neovim_nvchad

Add the repo

$ sudo add-apt-repository ppa:neovim-ppa/unstable

Update & install

$ sudo apt-get update
$ sudo apt-get install neovim

Download nvchad

Backup your files if you have

git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1

Alias

alias vim=nvm

# also add to term config every startup
echo 'alias vim=nvim' >> ~/.zshrc

Start vim

vim

Install syntax highlighting

# while inside vim, run
:TSInstall javascript yml python
:TSInstallInfo

Shortcuts

Find file

space f f

Find in buffer

space f b

File nav

# toggle
ctrl n

Terminal

space h(orizontal)
space v(ertical)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment