- Install Neovim with instructions from here
- Run
alias vim=nvimto use 'vim' as an alias. ie: Run Neovim with thevimcommand. - Run
echo 'alias vim=nvim' >> .zshrcto save the alias to shell configuration. This command shown here only works for zsh. - Install Nerdfonts
- Install Git
- Run
mv ~/.config/nvim ~/.config/nvim.backupto backup any neovim configuration you already have. - Run
rm -rf ~/.local/share/nvimto delete any local neovim caches, to prevent any issues. - Install NvChad with instructions from here.
-
- Run
git clone https://github.com/NvChad/starter ~/.config/nvim && nvimif you use Linus or MacOS.
- Run
- The NvChad setup will ask you to, if you wish to install an example custom config. Press
nto decline. - Wait for NvChad to finish installing all the default packages.
Spacethto enter theme switcher.-
Ctrl + pto choose previous theme.
-
Ctrl + nto choose next theme.
-
- You can also type the name of the theme you are searching for.
:TSInstall <fileformat>/<language>to install syntax highlighting for a specific language.:TSInstallInfoto view installed syntaxes.Spacechto display cheatsheet.- Here the
<leader>is equivalent to theSpaceKey.
- Here the
ctrl+nto view filetree- Use directional buttons to navigate filetree
- Press
Enterto open selected file. - Press
mto mark a file. - Press
aand enter file-name to create a new file. - Press
cto copy a file. - Press
pto paste a file. - Press
rto rename a file.
Spaceffto open file finder- Type the filename to search for it.
Spacefbto browse open files/buffers
- Use
:vspcommand to vertical split window. - Use
:spcommand to horizontaly split window. - Press
Ctrl+hto switch left. - Press
Ctrl+jto switch down. - Press
Ctrl+kto switch up. - Press
Ctrl+lto switch right. - Press
Ctrl+wqto close window.
- Press
Ctrl+nto enable line numbering - Press
Ctrl+rnto enable relative line numbering
- Press
Tabto switch tabs forwards. - Press
Shift+Tabto switch tabs backwards. - Press
Space+xto close current tab/buffer.
- Press
Spacehto open horizontal terminal. - Press
Spacevto open vertical terminal.