Home Download Buy Blog Forum Support

Vintage mode, yanking into buffer?

Vintage mode, yanking into buffer?

Postby stevefink on Sat May 04, 2013 9:09 pm

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?
stevefink
 
Posts: 3
Joined: Thu May 02, 2013 6:49 pm

Re: Vintage mode, yanking into buffer?

Postby skuroda on Sun May 05, 2013 1:28 am

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.
skuroda
 
Posts: 677
Joined: Fri Oct 05, 2012 8:11 am

Re: Vintage mode, yanking into buffer?

Postby stevefink on Sun May 05, 2013 4:04 pm

Thanks for the reply, sounds good re: Sublime 3 or plugin as the solution.
stevefink
 
Posts: 3
Joined: Thu May 02, 2013 6:49 pm

Re: Vintage mode, yanking into buffer?

Postby skuroda on Sun May 05, 2013 5:00 pm

Both require ST3. If you are still on ST2, you could try https://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.
skuroda
 
Posts: 677
Joined: Fri Oct 05, 2012 8:11 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 21 guests