Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

yuriusuonly/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVIM

Neovim Lua configuration with common editor key bindings and native LSP support.

Installation

git clone --recurse-submodules https://github.com/yuriusudev/nvim.git $HOME/.config/nvim

Update

git pull
git submodule update --recursive --remote

Tip

Run :Mason to manually select and install native Language Servers.
Or configure mason-lspconfig to automatically install supported Language Servers.

Keymaps

Tip

Default <Leader> key is mapped as <Space> key.

Editor

Mode(s) Key Function
niv Ctrl + w Close the current buffer
niv Ctrl + s Save the current buffer content
n Tab Switch to the next tab buffer
n Shift + Tab Switch to the previous tab buffer
v Tab Increase indent of current selected line(s)
v Shift + Tab Decrease indent of current selected line(s)
niv Del Delete key does not yank characters
niv Ctrl + x Cut the current line or selected texts
niv Ctrl + c Copy the current line or selected texts
niv Ctrl + v Paste text from clipboard
niv Ctrl + a Select all text
niv Ctrl + z Undo last action
niv Ctrl + y Redo last undo action
niv Shift + Select text using arrow keys

LSP

Mode(s) Key Function
i Enter Confirm autocomplete selection
i Esc Closes autocomplete dialog (does not return to normal mode)
i Tab Select next item in autocomplete list
i Shift + Tab Select previous item in autocomplete list
i Shift + Scrolls up or down autocomplete documentation dialog
n Space + Switch between previous and next buffers
n Space + Shows previous or next diagnostic dialog
n Space + ? Shows diagnostic dialog for the current highlighted symbol
n Space + / Shows diagnostic list buffer
n Space + r Rename Symbol
n Space + c + a Code Actions
n Space + f Format Code
n Space + g + D Goto Declaration
n Space + g + r Goto References
n Space + g + i Goto Implementation
n Space + g + d Goto Definition
n Space + g + t Goto Type Definition
n Space + d Hover Documentation
n Space + s + h Signature Help
n Space + w + a Workspace Add Folder
n Space + w + r Workspace Remove Folder
n Space + w + l Workspace List Folders

About

Neovim Lua Configurations

Resources

Stars

Watchers

Forks

Contributors

Languages