docs: update Linux/vim
This commit is contained in:
parent
b8193412ab
commit
a4adf32857
36
Linux/vim.md
36
Linux/vim.md
@ -2,7 +2,7 @@
|
|||||||
title: Vim
|
title: Vim
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2025-10-11T16:44:46.511Z
|
date: 2025-10-11T16:47:26.917Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2025-10-11T16:38:44.398Z
|
dateCreated: 2025-10-11T16:38:44.398Z
|
||||||
@ -24,23 +24,25 @@ dateCreated: 2025-10-11T16:38:44.398Z
|
|||||||
## Navigation
|
## Navigation
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| - | - |
|
| - | - |
|
||||||
| h / l | Move left / right |
|
| `h` / `l` | Move left / right |
|
||||||
| j / k | Move down / up |
|
| `j` / `k` | Move down / up |
|
||||||
| w / b | Next / previous word |
|
| `w` / `b` | Next / previous word |
|
||||||
| 0 / $ | Start / end of line |
|
| `0` / `$` | Start / end of line |
|
||||||
| gg / G | Start / end of file |
|
| `gg` / `G` | Start / end of file |
|
||||||
| Ctrl+d / Ctrl+u | Half-page down / up |
|
| `Ctrl+d` / `Ctrl+u` | Half-page down / up |
|
||||||
| Ctrl+f / Ctrl+b | Full-page down / up |
|
| `Ctrl+f` / `Ctrl+b` | Full-page down / up |
|
||||||
| :n | Go to line n|
|
| `:n` | Go to line `n` |
|
||||||
|
|
||||||
## Edit
|
## Edit
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| - | - |
|
| - | - |
|
||||||
| x | Delete character |
|
| `x` | Delete character |
|
||||||
| dd | Delete (cut) line |
|
| `dd` | Delete (cut) line |
|
||||||
| yy | Yank (copy) line |
|
| `yy` | Yank (copy) line |
|
||||||
| p | Paste below |
|
| `p` | Paste below |
|
||||||
| P | Paste above |
|
| `P` | Paste above |
|
||||||
| u | Undo |
|
| `u` | Undo |
|
||||||
| Ctrl+r | Redo |
|
| `Ctrl+r` | Redo |
|
||||||
| . | Repeat last change |
|
| `.` | Repeat last change |
|
||||||
|
| `"+y` | Copy to system clipboard |
|
||||||
|
| `"+p` | Paste from system clipboard |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user