Prerequisites: have the latest nvim 0.11.0 installed get it here, and be on a linux system or a windows linux subsystem or mac linux subsystem, and have a "Nerd Font" downloaded to your machine so that your command shell can process icons. I use AtkynsonMono Nerd Font you can find and download it here
- Open whatever command shell you prefer
bashcd ~cd .config(if there is no .config directory,mkdir .configand thencd .config)- If there is a nvim folder there already,
rm -r nvim git clone https://github.com/lloeffel/nvimcd nvimnvim .:Lazy sync
When opening a file with nvim, tree sitter may have to update and just let it do its thing, then exit the file and open it again for everything to work
If you are transferring from one setup to another, and there are conflicts, you may have to delete files/directories in your ~/.local/share/ folder which correspond to corrupted plugins
+increments a number the cursor is hovering (NORMAL)-decrements a number the cursor is hovering (NORMAL)
<leader>pvgoes out to the directory (NORMAL)
Ctrl + dscrolls down quickly when held down (NORMAL)Ctrl + uscrolls up quickly when held down (NORMAL)
=apformat the code block you are in (NORMAL)<leader>fformat file based on the LSP (NORMAL)
<leader>zigrestart the LSP (NORMAL)
<leader>ppastes over your visual selection without yanking the replaced text (VISUAL)<leader>ycopies likeywould but to your system clipboard (THIS WILL NOT WORK THROUGH SSH---unless you are using X-forwarding) (VISUAL, NORMAL)<leader>Ycopies likeYwould but to your system clipboard (THIS WILL NOT WORK THROUGH SSH---unless you are using X-forwarding) (VISUAL, NORMAL)<leader>ddeletes likedbut does not yank the deleted text (VISUAL, NORMAL)
<leader>stakes the word the cursor is on, and allows you to edit every reference of that word simultaneously in the code (NORMAL)
<leader>tecreates a new tab (NORMAL)ssdoes a horizontal split and navigates to the new window (NORMAL)svdoes a vertical split and navigates to the new window (NORMAL)<leader><SPACE>navigates to the next window (NORMAL)s<TAB>fullscreen for current window (NORMAL)<leader>s<TAB>equal sizes for all windows (NORMAL)
s<UP>navigates to the window above the current (NORMAL)s<DOWN>navigates to the window below the current (NORMAL)s<LEFT>navigates to the window to the left of the current (NORMAL)s<RIGHT>navigates to the window to the right of the current (NORMAL)
sknavigates to the window above the current (NORMAL)sjnavigates to the window below the current (NORMAL)shnavigates to the window to the left of the current (NORMAL)slnavigates to the window to the right of the current (NORMAL)
Ctrl + w<UP>navigates to the window above the current (NORMAL)Ctrl + w<DOWN>navigates to the window below the current (NORMAL)Ctrl + w<LEFT>navigates to the window to the left of the current (NORMAL)Ctrl + w<RIGHT>navigates to the window to the right of the current (NORMAL)
Ctrl + ahighlights all of the file (NORMAL)
- Open Lazy with
:Lazy - Sync your plugins with
:Lazy sync