Works for any Neovim 0.8.0 or newer .
TO install Neovim 0..8.0 or never do this :
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt install neovimreplace apt with pacman/your download manager when needed
To use this directory do
git clone https://github.com/anuragak021/NeovimAfter cloning Delete the LICENSE , README.md and .git file
rm README.md ; rm LICENSE ; rm -rf .gitin the .config/nvim folder this will clone everything in folder named Neovim to move all the contents of this folder to up one folder do
git clone https://github.com/anuragak021/Neovim ~/.config/nvimThe Keyboard shorcuts that I have used are :
Space -> Leader
- Shift + K -> Hover over a keyword
- Leader + g + d -> LSP buffer definitions
- Leader + g + r -> LSP References
- Leader + c + a -> LSP buffer code action
- Leader + n -> Neotree reveal left
- Leader + g + f -> Format Code
- Ctrl + p -> Find Files
- Leader + f + g -> Live grep
- Leader + Leader -> Reveal Old Files
- Ctrl + ` -> Open new terminal
- Ctrl + <- -> Go to the left terminal
- Ctrl + -> -> Go to the right terminal
- Ctrl + t -> Terminal to normal mode
- Ctrl + e -> Go to the editor from terminal
- Ctrl + b -> Toggle terminal
- Leader + i(i = 1 to 9 ) -> Switch to that particular terminal
- Ctrl + / -> Comment those lines selected in visual mode
- cp + tab -> Competetive Programming snippet
- Leader + m + p -> Toggle markdown render
