- Install Neovim with instructions from here
- Run
alias vim=nvim
to use 'vim' as an alias. ie: Run Neovim with thevim
command. - Run
echo 'alias vim=nvim' >> .zshrc
to save the alias to shell configuration. This command shown here only works for zsh. - Install Nerdfonts
- Install Git
- Run
mv ~/.config/nvim ~/.config/nvim.backup
to backup any neovim configuration you already have. - Run
rm -rf ~/.local/share/nvim
to 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 && nvim
if you use Linus or MacOS.
- Run
- The NvChad setup will ask you to, if you wish to install an example custom config. Press
n
to decline. - Wait for NvChad to finish installing all the default packages.
Space
t
h
to enter theme switcher.-
Ctrl + p
to choose previous theme.
-
Ctrl + n
to 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.:TSInstallInfo
to view installed syntaxes.Space
c
h
to display cheatsheet.- Here the
<leader>
is equivalent to theSpace
Key.
- Here the
ctrl
+n
to view filetree- Use directional buttons to navigate filetree
- Press
Enter
to open selected file. - Press
m
to mark a file. - Press
a
and enter file-name to create a new file. - Press
c
to copy a file. - Press
p
to paste a file. - Press
r
to rename a file.
Space
f
f
to open file finder- Type the filename to search for it.
Space
f
b
to browse open files/buffers
- Use
:vsp
command to vertical split window. - Use
:sp
command to horizontaly split window. - Press
Ctrl
+h
to switch left. - Press
Ctrl
+j
to switch down. - Press
Ctrl
+k
to switch up. - Press
Ctrl
+l
to switch right. - Press
Ctrl
+w
q
to close window.
- Press
Ctrl
+n
to enable line numbering - Press
Ctrl
+r
n
to enable relative line numbering
- Press
Tab
to switch tabs forwards. - Press
Shift
+Tab
to switch tabs backwards. - Press
Space
+x
to close current tab/buffer.
- Press
Space
h
to open horizontal terminal. - Press
Space
v
to open vertical terminal.