# Neovim keyboard shortcuts (Mac)

> The most used Neovim shortcuts on Mac: Insert before cursor (I), Enter an Ex command (:), End Insert mode (esc), Put after cursor (P), Undo (U). This page lists all 50, from the official documentation.

- Source: [the Neovim project · github.com](https://github.com/neovim/neovim/blob/v0.12.6/runtime/doc/index.txt), retrieved November 20, 2026 (2026-11-20)
- Page: https://www.modandkey.com/neovim-keyboard-shortcuts/mac
- Also: [Windows](https://www.modandkey.com/md/neovim-keyboard-shortcuts.md), [Linux](https://www.modandkey.com/md/neovim-keyboard-shortcuts/linux.md)
- Unofficial reference. Not affiliated with the Neovim project.

## Modes & insert

| Command | Shortcut |
|---|---|
| Insert before cursor | I |
| Append after cursor | A |
| Append at end of line | ⇧A |
| Insert at start of line | ⇧I |
| Open line below | O |
| Open line above | ⇧O |
| Visual mode | V |
| Linewise Visual mode | ⇧V |
| Blockwise Visual mode | ⌃V |
| Enter an Ex command | : |
| End Insert mode | esc |

## Cursor motion

| Command | Shortcut |
|---|---|
| Left | H |
| Down | J |
| Up | K |
| Right | L |
| Word forward | W |
| Word backward | B |
| End of word | E |
| Start of line | 0 |
| End of line | $ |
| Go to line N / last line | ⇧G |
| Matching bracket | % |
| Paragraph backward | { |
| Paragraph forward | } |

## Edit & undo

| Command | Shortcut |
|---|---|
| Delete character | X |
| Delete character before | ⇧X |
| Delete to end of line | ⇧D |
| Change to end of line | ⇧C |
| Join lines | ⇧J |
| Switch case | ~ |
| Put after cursor | P |
| Put before cursor | ⇧P |
| Yank to end of line | ⇧Y |
| Undo | U |
| Redo | ⌃R |
| Repeat last change | . |
| Add to number | ⌃A |
| Subtract from number | ⌃X |

## Search

| Command | Shortcut |
|---|---|
| Search forward | / |
| Search backward | ? |
| Next match | N |
| Previous match | ⇧N |
| Search word under cursor | * |
| Search word backward | # |

## Scroll & jump

| Command | Shortcut |
|---|---|
| Screen forward | ⌃F |
| Screen backward | ⌃B |
| Scroll down half a screen | ⌃D |
| Scroll up half a screen | ⌃U |
| Older position in jump list | ⌃O |
| Help | F1 |
