32 lines
671 B
Markdown
32 lines
671 B
Markdown
---
|
|
title: Vim
|
|
description:
|
|
published: true
|
|
date: 2025-10-11T16:42:51.180Z
|
|
tags:
|
|
editor: markdown
|
|
dateCreated: 2025-10-11T16:38:44.398Z
|
|
---
|
|
|
|
# Vim
|
|
|
|
## Insert
|
|
| Command | Description |
|
|
| - | - |
|
|
| i | Insert before cursor |
|
|
| I | Insert at start of line |
|
|
| a | Insert after cursor |
|
|
| A | Insert at end of line |
|
|
| o | New line below |
|
|
| O | New line above |
|
|
| Esc | Back to Normal mode |
|
|
|
|
## Navigation
|
|
| h / l | Move left / right |
|
|
| j / k | Move down / up |
|
|
| w / b | Next / previous word |
|
|
| 0 / $ | Start / end of line |
|
|
| gg / G | Start / end of file |
|
|
| Ctrl+d / Ctrl+u | Half-page down / up |
|
|
| Ctrl+f / Ctrl+b | Full-page down / up |
|
|
| :n | Go to line n| |