nvim-simple-config

Keymaps

All keyboard shortcuts are designed to be intuitive and consistent. The Space key acts as the leader key for most custom mappings.

Note: Shortcuts that use fd require the fd tool to be installed on your system.

Window & Split Management

Create Splits

Open new editing areas horizontally or vertically.

Move the cursor between open splits using directional keys.

Resize Splits

Adjust the size of the active split.

Buffers

Cycle through open buffers without closing them.

Integrated Terminal

Open Terminal

Launch a terminal inside Neovim with toggleterm.nvim.

Exit Terminal Mode

Return to normal mode when the terminal is focused.

Dashboard

The snacks.nvim dashboard accepts these keys on the start screen.

Code Execution

Run code directly from the editor with code_runner.nvim.

Commands are configured for HTML, TypeScript, Python, Rust, and C/C++.

Git Integration

Lazygit

Open the Lazygit terminal UI inside Neovim.

File Actions

Window Actions

Telescope (Fuzzy Finder)

Fast file searching and navigation powered by Telescope.

Requirement: The fd command must be installed for file finding features.

Neotree (File Explorer)

Browse and manage project files with a sidebar tree view.

Language Server Protocol (LSP)

Intelligent code features powered by language servers.

Requirement: The appropriate language server must be installed on your system for each file type.

Core LSP Actions

Completion Menu

Navigate the autocompletion popup.

Note: This config maps Shift + Tab to the next completion item, not the previous one.

Diagnostics

Navigate between errors, warnings, and hints reported by the LSP.

Editing Enhancements

Better Search Navigation

Improve the default search experience by centering results.

Visual Mode – Indentation

Adjust indentation while text is selected.

Visual Mode – Move Lines

Shift selected lines up or down without leaving visual mode.

Markdown

Enhanced editing for markdown files when using render-markdown.nvim.

Render Markdown

Toggle the visual rendering of markdown elements.

Delete Without Yanking

Delete text without overwriting the unnamed register.

Live Server

Live reload HTML, CSS, and JavaScript with live-server.nvim. The configured server listens on 127.0.0.1:8080.

Commands