-
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
nvim
for the first time to initiatetreesitter
andmason
plugins -
run the following command to install additional
mason
plugins:MasonToolsInstallSync
-
You should good to go!
folke/lazy.nvim
folke/noice.nvim
folke/snacks.nvim
with the following subpackages are enabled :folke/trouble.nvim
folke/which-key.nvim
stevearc/conform.nvim
neovim/nvim-lspconfig
MunifTanjim/nui.nvim
echasnovski/mini.nvim
with the following subpackages are enabled :williamboman/mason.nvim
nvim-treesitter/nvim-treesitter
mfussenegger/nvim-dap
with the following debuggers pre-configured :js-debug-adapter
to integrate with chromium-base browsers (chrome
,edge
, etc) for debugging node backend and js/ts frontendphp-debug-adapter
to integrate withext-xdebug
firefox-debug-adapter
to debug js/ts frontend usingfirefox
rcarriga/nvim-dap-ui
jay-babu/mason-nvim-dap.nvim
theHamsta/nvim-dap-virtual-text
LiadOz/nvim-dap-repl-highlights
nvim-neotest/neotest
nvim-neotest/nvim-nio
nvim-lua/plenary.nvim
V13Axel/neotest-pest
olimorris/neotest-phpunit
marilari88/neotest-vitest
- Diagnostics
[d
and]d
: Jump to previous and next diagnostics[e
and]e
: Jump to previous and next error diagnostics[w
and]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) onvisual
modeALT
+j
/k
: Move line(s) down or up<leader>
+fo
: Format current buffer
- Panes / Splits
ALT
+Up
/Down
arrow : Increase or decrease window heightALT
+Left
/Right
arrow : Decrease or increase window widthCTRL
+h
/j
/k
/l
: Jump toleft
,below
,above
orright
windowCTRL
+`
: 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
[h
and]h
: Jump to previous and next hunk[H
and]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
TAB
orSHIFT
+TAB
: Navigate to next or previous buffers (normal mode)n
andN
: 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