Neovim setup for fullstack work, Python practice, and Nx monorepos.
git clone https://github.com/sonuKumar03/nvim-config.git ~/.config/nvim
nvimIf you already have a local config:
mv ~/.config/nvim ~/.config/nvim.backup
git clone https://github.com/sonuKumar03/nvim-config.git ~/.config/nvim
nvim- Neovim 0.12+
gitrgfdnodepython3go
Need help remembering keys? Check out these detailed references:
- Vim Motion Cheatsheet: Standard movements, editing commands, and text objects.
- Plugins Cheatsheet: Interactive commands, custom LSP keymaps, search-and-replace, debugging, and test runners.
<leader>?shows keymaps with which-key<leader>fffinds files<leader>fgsearches text across the project<leader>eopens Neo-tree at the project root<leader>Eopens Neo-tree at the current directory<leader>cotoggles the dedicated code outline sidebar (Aerial)
gcccomments or uncomments the current linegbcblock comments the current linegc(in Visual mode) comments or uncomments the selectiongb(in Visual mode) block comments the selection
<leader>bncreates a new buffer<leader>bhand<leader>blmove to previous/next buffers<leader>bccloses the current buffer<leader>beopens the Neo-tree buffers view- native tabpage keymaps are not part of this config
<leader>ggopens LazyGit<leader>gvopens Diffview<leader>gCcloses Diffview<leader>gFopens file history<leader>gHopens current-file history<leader>gbtoggles inline current-line Git blamegitsignshandles hunk staging, reset, preview, blame, and navigation
<leader>sropens Spectre for project-wide replace<leader>sRopens Spectre for current-file replace<leader>swopens Spectre for a visual selection<leader>sAapplies the replacement<leader>slresumes the last Spectre search
<leader>xxopens workspace diagnostics<leader>xXopens buffer diagnostics<leader>xeand<leader>xEfilter to errors<leader>xqopens quickfix<leader>xlopens location list<leader>xsopens symbols<leader>xropens references<leader>xdopens definitions
<leader>dbtoggles a breakpoint<leader>dBsets a conditional breakpoint<leader>dccontinues<leader>disteps into<leader>dosteps over<leader>dOsteps out<leader>dropens the REPL<leader>dutoggles the DAP UI<leader>dtterminates<leader>dlreruns the last session
<leader>trruns the nearest test<leader>tfruns the current file<leader>tsruns the suite<leader>tddebugs the nearest test<leader>ttstops a running test<leader>toopens test output<leader>tOtoggles the output panel<leader>tStoggles the summary panel
<leader>ooopens Overseer<leader>oOtoggles Overseer<leader>orruns an Overseer task
:LeetCodeScratchopens a Python scratch buffer:LeetCodeRunruns the current Python file
lazy-lock.jsonpins plugin versions.nvim.logis ignored.- This config is tuned for JS/TS, Python, Go, and Nx work.