Dotfiles

Neovim

Keymaps

Base

Based on LazyVim keymaps, with some additional key bindings added.

Mode Key Description
n,v Ctrl+(/) Move to (the end of the previous / the beginning of the next) paragraph
n,v,i Ctrl+(/) Backward word / Forward word
i Ctrl+/ Undo
i Ctrl+r Redo

Emacs-like

Emacs-like shortcuts are configured in insert mode.

Mode Key Description
i Ctrl+a Move the cursor to the beginning of the line.
i Ctrl+e Move the cursor to the end of the line.
i Ctrl+d Delete the character under the cursor.
i Ctrl+h Delete the character before the cursor (backspace).
i Ctrl+b Move the cursor one character backward.
i Ctrl+f Move the cursor one character forward.
i Ctrl+p Move the cursor to the previous line.
i Ctrl+n Move the cursor to the next line.
i Ctrl+u Delete all characters before the cursor on the current line.
i Ctrl+w Delete the word before the cursor.
i Ctrl+y Paste (yank) the most recently deleted text at the cursor position.
Mode Key Description
i Alt+d Delete word
i Alt+b Backward word
i Alt+f Forward word