Comment by groovy2shoes
10 years ago
Yep, and vi even gives you multiple registers in which to store yanked or deleted text. In vim, you get [a-zA-Z0-9\-"] all as registers! Just type "x where x comes from that character class, to use a non-default register (the default register is ", so if you want to explicitly use the default register when deleting a line, you could do: ""dd ).
It's similar to how marks work, as well.
No comments yet
Contribute on Hacker News ↗