My NeoVim configurations using Lazy plugin manager.
fd-find: Installationeslint-d: Install:sudo npm i -g eslint-ddelve: Install:sudo dnf install -y delvenodejs: Install:sudo dnf install -y nodejs
Copilot requires nodejs 20.0.0 or later.
- Install NeoVim from the official page: https://neovim.io/
- Clone the repository inside your
~/.configdirectory:git clone git@github.com:zobayer1/nvim-config.git ~/.config/nvim - Start NeoVim with
nvim - Install new LSP, DAP, Formatter and Diagnostic libraries using
:Mason. - Invoke copilot setup:
:Copilot setup
For breaking changes, please refer to respective plugin repositories for updated setup instructions.
Space: Leader key
Ctrl + h: Move to left paneCtrl + j: Move to bottom paneCtrl + k: Move to top paneCtrl + l: Move to right pane
Mouse support is enabled. You can click on the panes to move between them.
v: start visual modeV: start visual line mode<C-v>: start visual block mode
In visual mode: e to jump to the end of word, b to jump to the beginning of word.
Cursor movement keys h, j, k, l can be used to move the cursor.
Ctrl + n: Open the file browser pane from neo-tree.- On the neo-tree pane, press
aon the desired directory to create a new file. - In normal mode:
edit: <filepath>to create a new file.
Ctrl + p: Fuzzy find files in the current directory.Leader + fg: Fuzzy find files by text in the current directory.
Leader + ca: Show code actions for the current line.Leader + gD: Go to definition.Leader + gd: Go to declaration.Leader + gr: Go to references.K: Hover action to show documentation for the current symbol.Ctrl + b: Scroll docs up.Ctrl + f: Scroll docs down.Ctrl + Space: Accept completion.Crrl + e: Close hover window.<CR>: Confirm option.
Leader + gf: Format the current file.
- Use git commands with
:Git <command>. - Use gitsigns commands with
:Gitsigns <command>.
Tab: Trigger copilot completion.
Leader + ls: Search sessions.Ctrl + s: Swap sessions.Ctrl + d: Delete session.Ctrl + y: Rename session.
Leader + vs: Select python venv.
Leader + dt: Toggle breakpoint.Leader + dc: Start or continue debugging.