Skip to main content
3 of 3
edited tags; edited tags
Drew
  • 79.1k
  • 10
  • 123
  • 257

How to access the last-yanked text programmatically?

How can I use the last thing yanked in a command I'm writing?

For example, if the last text I yanked was "test" I want to use this string somehow in my command.

(I use avy and evil.)

Rareform
  • 231
  • 2
  • 10