One of my favorite things about vi(m)'s yank (i.e. copy) syntax is the ability to copy the entire contents of the current word, line, parens, code block, etc. using the ya{something} and yi{something} syntaxes
Examples for reference:
yawya(yi{yatSo what I'm trying to figure out now is whether vim recognizes block comments as a yankable unit. I'm imagining something like yac. Is this standard? If not, is there a plugin or a mapping that someone's figured out?
You can, if you install a plugin, for example: https://github.com/glts/vim-textobj-comment
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With