Loading...
守株阁
Vim cheatsheet
Back to Home
Vim cheatsheet
Created
2017-12-05
|
Updated
2026-01-24
|
Word Count:
46
|
Reading Time:
1mins
|
Post Views:
比较好用的两个 vim 寄存器代码:
1
2
3
4
5
6
7
#删除全部内容
:%d
# 在 vim 下,拷贝全部的代码
:%y+
# 在 mac 的 vim 下,拷贝全部的代码
:%w !pbcopy
Author:
magicliang
Link:
https://magicliang.github.io/2017/12/05/Vim-cheatsheet/
Copyright Notice:
All articles on this blog are licensed under
CC BY-NC-SA 4.0
unless otherwise stated.
vim
magicliang
关于技术以及人生
Articles
357
Tags
268
Categories
13
Github
Announcement
人生只是,守株待兔
Recent Posts
git worktree 术语起源解析
2026-03-18
告别 Vibe Coding:用 OmO 构建可靠的 AI 工程系统
2026-03-18
智能体外部记忆:文件标准现状与超越 Harness 的更广泛用途
2026-03-18
Harness Engineering:长任务智能体的必备架构,还是可选方案?
2026-03-18
在智能体优先的世界中利用 Codex
2026-03-18
簡