vim复制一个php函数

```

```
进入vim编辑器

将光标放在函数中间,然后输入

`va{Vy`即可复制一个整个函数

Place the cursor somewhere in my method,

`va{` to visually select the the code block,

`V` to turn the selection from character-wise to line-wise,

`y` to yank

    A+
发布日期:2020年10月16日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: