Loading...
Articles
440
Tags
477
Categories
31
Home
Archives
Tags
Categories
About
守株阁
Vim cheatsheet
Back to Home
Home
Archives
Tags
Categories
About
Vim cheatsheet
Created
2017-12-05
|
Updated
2026-06-02
|
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
440
Tags
477
Categories
31
Github
Announcement
人生只是,守株待兔
Recent Posts
数据库 Resharding 的在线切换与回滚
2026-06-01
Anthropic autonomous-coding 源码拆解:500 行 Python 里的 Harness 工程学
2026-06-01
Agent Harness Engineering 综述解读:ETCLOVG 七层框架与生态全景
2026-06-01
复刻多 Agent 诊断系统:47 个失败模式复盘
2026-05-30
联合国官方如何判断台湾地位:从 2758 号决议到发言人答问
2026-05-27
簡