Skip to content

Neovim

Neovim is a Vim-based text editor focused on extensibility, modern terminal features, Lua configuration, built-in LSP support, and plugin-driven workflows. In this setup it is the main terminal editor for editing code and dotfiles.

Neovim showing the Snacks picker and WezTerm configuration

Configuration file:

text
nvim/.config/nvim/init.lua

Official Resources

ResourceURL
Websiteneovim.io
Documentationneovim.io/doc
GitHubgithub.com/neovim/neovim

What It Is Used For Here

UseNotes
Editing codeFast keyboard-first editor inside the terminal.
Editing dotfilesMain editor for this repository's config and docs.
Project searchUses Snacks picker for files, text, and buffers.
Lua configurationThe setup lives in init.lua and is managed with lazy.nvim.

Leader Key

KeyMeaning
SpaceLeader key

Uso Diario

ComandoAccion
iEntrar en modo insertar antes del cursor
EscVolver a modo normal
Space f fBuscar archivos
Space f gBuscar texto en el proyecto
Space f bBuscar buffers abiertos
:wGuardar
:qSalir de la ventana actual
:q!Salir sin guardar
:wqGuardar y salir
/textoBuscar texto hacia delante
nIr al siguiente resultado de busqueda
NIr al resultado anterior de busqueda
uDeshacer
Ctrl rRehacer
ddCortar/eliminar linea actual
yyCopiar linea actual
pPegar despues del cursor
:bdCerrar buffer actual

Custom Shortcuts

ShortcutModeAction
Space f fNormalSearch files with Snacks picker
Space f gNormalSearch text with Snacks grep
Space f bNormalSearch open buffers with Snacks picker

Common Shortcuts

Modes

ShortcutAction
EscReturn to normal mode
iInsert before cursor
aInsert after cursor
oOpen a new line below and enter insert mode
vEnter visual mode
VEnter visual line mode

Files

CommandAction
:wSave file
:qQuit current window
:q!Quit without saving
:wqSave and quit
:e path/to/fileOpen file

Editing

ShortcutAction
uUndo
Ctrl rRedo
yyCopy current line
pPaste after cursor
ddDelete current line
/textSearch forward
nNext search result
NPrevious search result

Buffers

CommandAction
:bnNext buffer
:bpPrevious buffer
:bdClose current buffer
Space f bSearch buffers with Snacks picker

UI

AreaConfiguration
ThemeCatppuccin Mocha
BackgroundTransparent
Line numbersAbsolute and relative numbers enabled
MouseEnabled
SearchIgnore case unless uppercase is used
StatuslineLualine
TablineCustom WezTerm-style buffer tabline

Plugins

PluginPurpose
folke/lazy.nvimPlugin manager
catppuccin/nvimTheme
echasnovski/mini.iconsIcons
folke/snacks.nvimPicker and search UI
nvim-lualine/lualine.nvimStatusline

Notes

The tabline shows listed buffers, not Vim tabs. Modified buffers get a + marker in the tab title.