- Backup your existing nvim config
mv ~/.config/nvim ~/.config/nvim.bak- Clone the repo
git clone git@github.com:NachiketNamjoshi/nvim.config.git ~/.config/nvim-
Install Rust using Rustup if you don't already have it installed: https://rustup.rs/
-
Install all plugins before actually using nvim
nvim --headless "+Lazy! sync" +qa-
Launch
nvim -
(Optional) Run
:Masonas it will install all the Language Servers
These are the language servers that are installed by default:
json-lsplua-language-serverbash-language-servervim-language-serverdockerfile-language-servercss-lsphtml-lsppyrightrust-analyzertypescript-language-serverclangdgoplsphpactorsqllsyaml-language-server
The leader has been set to ,
Ctrl + h: Move cursor to left paneCtrl + j: Move cursor to below paneCtrl + k: Move cursor to above paneCtrl + l: Move cursor to right pane
Ctrl + Up Arrow: Increase size horizontallyCtrl + Down Arrow: Decrease size horizontallyCtrl + Left Arrow: Increase size verticallyCtrl + Right Arrow: Decrease size vertically
Alt + 1-9: Go to Buffer #Alt + 0: Go to last bufferAlt + p: Pin current bufferAlt + c: Close current bufferAlt + ,: Go to Previous BufferAlt + .: Go to Next BufferAlt + <: Move Buffer to previous positionAlt + >: Move Buffer to next position
Ctrl + p: Telescope Find FilesCtrl + b: Telescope Find BuffersCtrl + f: Telescope Find in files (Fuzzy text search)Ctrl + d: Telescope Find in diagnostics
- Defaults from: mg979/vim-visual-multi
gD: Go to Declarationgd: Go to DefinitionK: Trigger Hover Manually (Show Documentation)gi: Go to ImplementationsCtrl + g: Show signature helpgr: Go to / Show references[d: Go to previous diagnostics]d: Go to next diagnosticsgl: Open diagnostics in floating window<leader>r: Rename symbol under cursor<leader>a: Show code actions