Think before you speak, read before you think.

vim寄存器

by

in

寄存器 register

放到寄存器 a 中

"ayy

从 a 中取出并粘贴

"ap

当前文件名

"%

表达式寄存器

"=

输入表达式,按回车确认后,按 p 粘贴

http://yejinxin.github.io/vim-register-usage/


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *