Vim
Vim vs Neovim Keyboard Shortcuts
Compare Vim and Neovim editing actions, navigation, search, and file handling, with 18 matched actions and clear coverage differences.
Published Updated 5 min read

On This Page
- Quick comparison
- Shortcut by shortcut
- Shared editing workflows
- Entering text and replacing lines
- Selection and recovery
- Navigation and search have matching goals
- Moving within text
- Finding repeated text
- File handling: shared actions, different listed coverage
- Saving versus discarding
- Do not equate unmatched entries
- Best use cases
- Next steps
- Related Shortcuts
- FAQ
Vim vs Neovim Keyboard Shortcuts: the listed core actions have matching outcomes across typing, navigation, selection, search, and saving. The supplied facts describe actions rather than key bindings, so they establish shared behavior—not identical shortcut keys.
The clearest difference here is coverage: Vim lists saving all changed files and quitting an unchanged file, while Neovim lists quitting all files without saving. An action missing from either list is not evidence that the editor lacks it.
Quick comparison
| Vim | Neovim | |
|---|---|---|
| Typing and editing | Insert at the cursor, create lines above or below, replace characters, and change whole lines. | Matching actions for inserting, creating lines, replacing characters, and changing whole lines. |
| Navigation and view | Move by character or word, reach file boundaries, scroll, and reposition the current line on screen. | Matching actions for these cursor movements, scrolling, and screen positioning. |
| Selection and search | Character, line, and block selection; forward search and repeat-search actions. | Matching selection types, forward search, and repeat-search actions. |
| File-handling coverage | Lists saving, saving and quitting, discarding a file's changes, and saving all changed files. | Lists saving, saving and quitting, discarding a file's changes, and quitting all files without saving. |
Shortcut by shortcut
| Action | Vim | Neovim |
|---|---|---|
| Insert Before the Cursor | i | i (Insert Before the Cursor) |
| Leave Insert Mode | Esc | Esc (Leave Insert Mode) |
| Open a Line Below | o | o (Open a Line Below) |
| Move Left or Right | h / l | h / l (Move Left or Right) |
| Move Forward by a Word | w | w (Move Forward by a Word) |
| Go to the First Non-blank Character | ^ | ^ (Go to the First Non-blank Character) |
| Delete the Current Line | dd | dd (Delete the Current Line) |
| Change the Current Line | cc | cc (Change the Current Line) |
| Copy the Current Line | yy | yy (Copy the Current Line) |
| Paste After the Cursor | p | p (Paste After the Cursor) |
| Start Block Selection | Ctrl + V | Ctrl + V (Start Block Selection) |
| Search Forward | / then Enter | / then Enter (Search Forward) |
| Repeat the Search | n | n (Repeat the Search) |
| Undo | u | u (Undo) |
| Redo | Ctrl + R | Ctrl + R (Redo) |
| Save the File | :w then Enter | :w then Enter (Save the File) |
| Save and Quit | :wq then Enter | :wq then Enter (Save and Quit) |
| Quit Without Saving | :q! then Enter | :q! then Enter (Quit Without Saving) |
Shared editing workflows
Entering text and replacing lines
Both editors list starting text at the cursor and returning from Insert mode to Normal mode. Both also distinguish removing a line from changing it: changing the current line deletes its contents and enters Insert mode.
For example, when rewriting a note, changing the line prepares you to type its replacement. When adding a separate note, opening a line below creates a new line and starts typing there.
Selection and recovery
Both lists include character, whole-line, and rectangular block selection. Undo reverses the last change, while redo reapplies an undone change.
For example, select a rectangular area when you want to highlight a column of text. If a later edit is unwanted, undo it; if that reversal was mistaken, redo it.
Navigation and search have matching goals
Moving within text
Both editors list movement by character and word, along with movement to the beginning or end of a line or file. Moving to the first non-blank character skips indentation rather than targeting the first character of the line.
For example, on an indented line, use the first non-blank destination to reach the text itself. To inspect the file's final lines, move to the end of the file.
Finding repeated text
Both lists include forward search, moving to the next match, and repeating the search in the opposite direction. They also include finding the next occurrence of the word under the cursor.
For example, locate a term farther down the file, review the next match, then return to the previous match if you passed the occurrence you wanted.
File handling: shared actions, different listed coverage
Saving versus discarding
Both editors list saving while continuing to edit, saving and quitting, and closing a file while discarding changes. These are different outcomes even though each concerns the same file.
For example, save and continue when a draft needs more work. Save and quit when finished. Discard changes only when the unsaved edits are unwanted.
Do not equate unmatched entries
Vim's listed action for saving all changed files preserves edits across files. Neovim's listed action for quitting all files without saving discards them. These are not a matching pair.
Vim also lists quitting only when nothing has changed. These coverage differences do not establish exclusive capabilities; they only show which actions are documented in the supplied lists.
Best use cases
- Learning everyday editing in either editor: focus on entering text, changing lines, and undoing or redoing edits.
- Comparing familiar workflows: use the matched actions to connect the same editing goals across Vim and Neovim without assuming identical bindings.
- Reviewing long files: both lists cover file-boundary navigation, scrolling, forward search, and repeated matches.
- Checking exit behavior: distinguish saving, saving and closing, and discarding changes before choosing an action.
Next steps
For the actions covered here, Vim and Neovim share the same core editing outcomes. Use the matched pairs on ShortcutSearch.app to compare tasks, and treat unmatched entries as coverage differences rather than proof of missing features.
Related Shortcuts
Insert Before the Cursor
Starts typing at the cursor position.
Leave Insert Mode
Goes back to Normal mode.
Open a Line Below
Creates a new line under the current one and starts typing.
Move Left or Right
Moves the cursor one character at a time.
FAQ
Are Vim and Neovim keyboard shortcuts identical?
The supplied facts show matching outcomes for many actions, but do not include key bindings. They support a comparison of behavior, not a claim that every shortcut is identical.
Do both editors support the same selection types listed here?
Yes. Both lists include character-by-character selection, whole-line selection, rectangular block selection, and restoring the previous selection.
What is the difference between deleting and changing the current line?
In both editors, deleting removes the current line. Changing the current line deletes it and enters Insert mode so you can type a replacement.
Does an action listed only for one editor mean the other cannot do it?
No. For example, saving all changed files is listed for Vim, while quitting all files without saving is listed for Neovim. These entries describe different outcomes, and their absence from the other list does not prove a capability is unavailable.
