Loading...
Articles
643
Tags
750
Categories
15
Home
Archives
Tags
Categories
About
守株阁
Vim cheatsheet
Back to Home
Search
Home
Archives
Tags
Categories
About
Vim cheatsheet
Created
2017-12-05
|
Updated
2026-08-16
|
工程实践
|
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
643
Tags
750
Categories
15
Github
Announcement
人生只是,守株待兔
Recent Posts
oh-my-claudecode vs oh-my-openagent:两大 Agent 编排框架深度对比与实用教程
2026-08-13
深入 Lean 18:Lean 4 证明工程总结与路线图
2026-08-09
深入 Lean 17:可执行代码与 FFI
2026-08-09
深入 Lean 16:用 Aesop 写声明式自动化
2026-08-09
深入 Lean 15:编写 elaborator 与 command
2026-08-09
簡
Search
Loading Database