-
Clone this repo to your
~/.config/nvim -
Run the following command to install all the plugins in headless mode
nvim --headless '+Lazy! sync' +qa -
Open any file using
nvimfor the first time to initiatetreesitterandmasonplugins -
run the following command to install additional
masonplugins:MasonToolsInstallSync
-
You should good to go!
folke/lazy.nvimfolke/noice.nvimfolke/snacks.nvimwith the following subpackages are enabled :folke/trouble.nvimfolke/which-key.nvimstevearc/conform.nvimneovim/nvim-lspconfigMunifTanjim/nui.nvimechasnovski/mini.nvimwith the following subpackages are enabled :williamboman/mason.nvimnvim-treesitter/nvim-treesitter
mfussenegger/nvim-dapwith the following debuggers pre-configured :js-debug-adapterto integrate with chromium-base browsers (chrome,edge, etc) for debugging node backend and js/ts frontendphp-debug-adapterto integrate withext-xdebugfirefox-debug-adapterto debug js/ts frontend usingfirefox
rcarriga/nvim-dap-uijay-babu/mason-nvim-dap.nvimtheHamsta/nvim-dap-virtual-textLiadOz/nvim-dap-repl-highlights
nvim-neotest/neotestnvim-neotest/nvim-nionvim-lua/plenary.nvimV13Axel/neotest-pestolimorris/neotest-phpunitmarilari88/neotest-vitest
- Diagnostics
[dand]d: Jump to previous and next diagnostics[eand]e: Jump to previous and next error diagnostics[wand]w: Jump to previous and next warning diagnostics<leader>+e: Open floating diagnostic message<leader>+ea: Open workspace diagnostics<leader>+ee: Open buffer diagnostic
- Buffer
<and>: Dedent and Indent line(s) onvisualmodeALT+j/k: Move line(s) down or up<leader>+fo: Format current buffer
- Panes / Splits
ALT+Up/Downarrow : Increase or decrease window heightALT+Left/Rightarrow : Decrease or increase window widthCTRL+h/j/k/l: Jump toleft,below,aboveorrightwindowCTRL+`: Toggle integrated terminal
- Language Services
K: Show signature helpgd: Goto DefinitiongD: Goto Declarationgr: Goto Referencesgi: Goto Implementationgy: Goto Type Definition<leader>+s: Workspace Symbols<leader>+ss: Document Symbols<leader>+rn: Rename Symbol<C-.>: Code Action
- Git
<leader>+gg: Open lazygit<leader>+gl: Toggle Git Logs Picker- Hunks
[hand]h: Jump to previous and next hunk[Hand]H: Jump to first and last hunk<leader>+hs: Toggle Stage Hunk<leader>+hS: Toggle Stage Buffer<leader>+hr: Reset Hunk<leader>+hR: Reset Buffer<leader>+h?: Toggle Preview Hunk
- Conflicts
<leader>+co: Choose ours<leader>+ct: Choose theirs<leader>+c0: Choose none<leader>+cb: Choose both
- File Navigations
TABorSHIFT+TAB: Navigate to next or previous buffers (normal mode)nandN: Jump to previous and next search results and keep the cursor in the center<leader>+f: File explorer<leader>+ff: Find Buffers<leader>+fg: Find File in current git repo<leader>+r: Rename File<leader>+<space>: File Picker<C-f>: Find files<C-p>: Projects Picker
- Testing
<leader>+t: Toggle Test Summary<leader>+tr: Test Run<leader>+tx: Test stop<leader>+td: Test run with DAP<leader>+tf: Test File<leader>+ts: Test Suite<leader>+to: Test Output<leader>+tp: Test Output Panel
- Debugging
F1: Debug: Step intoF2: Debug: Step overF3: Debug: Step outF4: Debug: Step backF5: Start debuggerF7: Toggle DAP UI<leader>+db: Toggle breakpoint<leader>+dc: Clear all breakpoints<leader>+dd: Evaluate value under the cursor
This repo is licensed under WTFPL