Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Neovim Configuration

This is a personalized, modern Neovim configuration for C++ and general development, built from the ground up. It features LSP integration, debugging, autocompletion, and a suite of UI enhancements.

Installation

This configuration is designed for a Debian/Ubuntu-based system.

  1. Clone the repository:

    git clone https://github.com/actellim/nvim-config.git ~/.config/nvim
  2. Run the dependency installation script: This script will install Neovim nightly from source, along with all necessary system dependencies.

    ~/.config/nvim/install.sh
  3. Launch Neovim: The first time you launch nvim, the lazy.nvim plugin manager will automatically install all the configured plugins.


Keymaps Guide

Note: The <leader> key is mapped to <space>.

📅 General & Core Editing

Keymap Description
Ctrl + o Jump back to the previous (older) cursor location.
Ctrl + i Jump forward to the next (newer) cursor location.

🔳 Window & Tab Management

Keymap Description
:sp Create a horizontal split.
:vs Create a vertical split.
Ctrl+w h/j/k/l Move to the split in the specified direction.
Ctrl+w w Cycle through all open splits.
:tabnew Create a new tab.
gt Go to the next tab.
gT Go to the previous tab.
:term Open a terminal in a horizontal split.
`:vert term`
Ctrl+\ Ctrl+n Escape from Terminal mode to Normal mode.

🧠 LSP (Language Intelligence)

These keymaps are only active in buffers with an attached LSP server.

Keymap Description
gd Go to Definition of the symbol under the cursor.
gi Go to Implementation (for interfaces/virtual functions).
gr Go to References (shows all usages).
gD Go to Declaration of the symbol.
K Show hover documentation for the symbol under the cursor.
<space>rn Rename the symbol under the cursor across the project.
<space>ca Show Code Actions for the current line/selection.

🩺 Diagnostics (Errors & Warnings)

Keymap Description
[d Go to the previous diagnostic (error/warning).
]d Go to the next diagnostic.
<space>e Expand the diagnostic message for the current line in a float.
<space>q Show all diagnostics for the current buffer in the quickfix list.

🐞 DAP (Debugging)

Keymap Description
<F5> Start/Continue the debugging session.
<F10> Step Over the current line.
<F11> Step Into the function on the current line.
<F12> Step Out of the current function.
<space>b Toggle Breakpoint on the current line.
<space>B Set a conditional Breakpoint.
<space>dr Open the Debug REPL.
<space>dl Run the Last debug session again.

🎨 UI & Telescope

Command Description
:Telescope themes Open the theme previewer.

🛠️ Utilities

Keymap Description
<space>dg Doxygen: Generate documentation.
<space>do Doxygen: Open documentation in the browser.

Conversation

Courtesy of Gemini

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages