1 Star 1 Fork 0

Zehebi / zhbvim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
helper.txt 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
PabloZheng 提交于 2021-11-23 07:38 . 新增部分插件
nggg # move to n lines after
dggg # delete from the cursor "|" to the end
yggg # copy from the cursor "|" to the end
d3w # delete 3 words
nx # delete n characters after
nX # delete n characters before
d0 # delete from the cursor "|" to the beginning of the line
d$ # delete from the cursor "|" to the end of the line
y0 # copy from the cursor "|" to the beginning of the line
y$ # copy from the cursor "|" to the end of the line
p # paste after the current line
P # paste before the current line
u # cancel
ctrl+r # redo
. # repeat
~ # capitalize
guaw # de-capitalize
3~ # capitalize 3 characters
g~~ # capitalize line
>ggg # indent to the end
// macros
qw(action)q # register macros as w
@w # use macros
@@ # repeat last macros
7@w # use macros 7 times
// visual mode
v # visual mode
shift+v # visual line
ctrl+v # visual block
:e newfile.txt # create a new file
:10,20s/word1/word2/g # 替换10-20行间所有的word1为word2
:10,Ss/word1/word2/g # 替换10-最后一行
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HangbinZheng/zhbvim.git
git@gitee.com:HangbinZheng/zhbvim.git
HangbinZheng
zhbvim
zhbvim
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891