Task
What is a keybinding?
Feedback
A keybinding in Vim is a shortcut that associates a specific key or combination of keys with a desired action; that is, a command or sequence of commands.
Examples
Key(s) | Action |
---|---|
<space>t |
Open a terminal window in a split. |
<C-l> |
Jump back to a misspelled word to fix it. |
dd |
Delete the current line. |
yy |
Yank (copy) the current line. |
p |
Paste the most recently yanked or deleted line below the cursor. |
You can use Vim’s keybindings or define your own.
Keybindings enhance productivity and reduce cognitive overload.