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.
<space><space>or<leader>Por<C-p>opens the VS Code Command Palette (legendary.nvim)<leader>?shows keymaps with which-key<leader>fffinds files (Telescope)<leader>fgsearches text across the project (Live Grep)<leader>eopens Neo-tree at the project root
]rand[rjump to next/previous occurrence of the symbol under cursor (vim-illuminate)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
<Tab>and<S-Tab>jump to next/previous open buffer<leader>bpinteractively picks a buffer by overlay label<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
<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 (]h/[h)
<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
:LCP [name]opens a Python scratch file:LCPRruns the current Python file
lazy-lock.jsonpins plugin versions.nvim.logis ignored.- This config is tuned for JS/TS, Python, Go, and Nx work.
- Includes
schemastore.nvimfor JSON/YAML schema validation.