Sublime Forum

Vintage mode, yanking into buffer?

#1

In VIM, if I want to yank line #10 into a buffer and then paste it onto the line where my cursor is, I would invoke the following,

:10y
p

Can’t seem to do the same in Vintage mode using Sublime 2. Clearly the : key is reserved for something else.

Is what I’m trying to do possible by any other means?

0 Likes

#2

You would have to write or find your own plugin to do this. That plugin would basically open an input panel on “:”. You would then have to parse the input to perform the appropriate action. If you decide to use ST3, you can try Vintageous. It is being written to provide more vim like behavior in ST3.

0 Likes

#3

Thanks for the reply, sounds good re: Sublime 3 or plugin as the solution.

0 Likes

#4

Both require ST3. If you are still on ST2, you could try github.com/dlo/Vintage.Next. I don’t know if it works, if it’s stable, or anything, but it was referenced in the Vintageous README.

0 Likes