Loading...
Articles
752
Tags
874
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-09-10
|
工程实践
|
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
752
Tags
874
Categories
15
Github
Announcement
人生只是,守株待兔
Recent Posts
从零编写操作系统 16 - 进入用户态:让错误程序无法直接改内核
2026-09-08
从零编写操作系统 15 - 等待与唤醒:任务为什么不能一直轮询
2026-09-08
从零编写操作系统 14 - 抢占调度:时间片结束后怎样换一个任务
2026-09-08
从零编写操作系统 13 - 保存与恢复执行现场:先实现协作式任务
2026-09-08
从零构建现代搜索引擎(E05):磁盘 ANN 与引擎工程对照
2026-09-07
簡
Search
Loading Database