Neovim 1
prerequirments
Install nvchad neovim
Run :MasonInstallAll
command after lazy.nvim finishes downloading plugins.
Delete the .git folder from nvim folder.
Modes¶
Indication Mode at bottom right ESC n i v
Run :qa! To exit without save or :qwa with save
https://neovim.io/doc/user/vimindex.html. 😍 or https://neovim.io/doc/user/quickref.html
Ctrl+ w = window manager¶
After in window manager n = new empty window
Given
d ➜ Show diagnostics under the cursor
w ➜ Switch windows
h ➜ Go to the left window x ➜ Swap current with next
j ➜ Go to the down window + ➜ Increase height
k ➜ Go to the up window - ➜ Decrease height
l ➜ Go to the right window < ➜ Decrease width
o ➜ Close all other windows = ➜ Equally high and wide
q ➜ Quit a window > ➜ Increase width
s ➜ Split window _ ➜ Max out the height
T ➜ Break out into a new tab | ➜ Max out the width
v ➜ Split window vertically
D ➜ Show diagnostics under the cursor
Telescope¶
:Telescope = :Telescope commands = lists all commands
nvimtree¶
:nvimtree= Ctrl + n = file manager
Lua language https://neovim.io/doc/user/luaref.html https://neovim.io/doc/user/lua.html
Vimscript https://neovim.io/doc/user/eval.html