```
```
进入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
```
```
进入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