Compare commits
5 Commits
d1e7c27047
...
a4adf32857
| Author | SHA1 | Date | |
|---|---|---|---|
| a4adf32857 | |||
| b8193412ab | |||
| c0844b1f0e | |||
| ba426e4859 | |||
| 072f73a12e |
30
Linux/vim.md
30
Linux/vim.md
@ -2,7 +2,7 @@
|
||||
title: Vim
|
||||
description:
|
||||
published: true
|
||||
date: 2025-10-11T16:41:33.978Z
|
||||
date: 2025-10-11T16:47:26.917Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2025-10-11T16:38:44.398Z
|
||||
@ -19,4 +19,30 @@ dateCreated: 2025-10-11T16:38:44.398Z
|
||||
| A | Insert at end of line |
|
||||
| o | New line below |
|
||||
| O | New line above |
|
||||
| Esc | Back to Normal mode |
|
||||
| Esc | Back to Normal mode |
|
||||
|
||||
## Navigation
|
||||
| Command | Description |
|
||||
| - | - |
|
||||
| `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` |
|
||||
|
||||
## Edit
|
||||
| Command | Description |
|
||||
| - | - |
|
||||
| `x` | Delete character |
|
||||
| `dd` | Delete (cut) line |
|
||||
| `yy` | Yank (copy) line |
|
||||
| `p` | Paste below |
|
||||
| `P` | Paste above |
|
||||
| `u` | Undo |
|
||||
| `Ctrl+r` | Redo |
|
||||
| `.` | Repeat last change |
|
||||
| `"+y` | Copy to system clipboard |
|
||||
| `"+p` | Paste from system clipboard |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user