Home Download Buy Blog Forum Support

Vintageous - New Vi/Vim Emulation for Sublime Text 3

Vintageous - New Vi/Vim Emulation for Sublime Text 3

Postby guillermooo on Tue Jan 29, 2013 8:29 pm

With any luck, this must be the first S3 package ever. If there's a prize for that, I rightfully
claim it now! ;)

Overview

Vintageous is a rewrite of Vintage, with a much more ambitious goal. While Sublime Text isn't
Vim, I think many Vim features can work better than they do today through Vintage.

Vintageous owes a great deal of its current design to previous work done by dlo.

Status

Vintageous is functional. I don't know how it fares compared to Vintage in terms of available
features, but I'd say it's almost there. My impression, if a little biased, is that existing
features normally work better than they do in Vintage.

If that's not the case for you, please report an issue and I'll try to fix it.

How to Get It

Please head over to the GitHub repository.

(FWIW, I had some trouble getting it to work with the latest build, but ignoring and re-enabling the package fixed it.)

Feedback always welcome!
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Vintageous - New Vi emulation for Sublime Text 3

Postby quarnster on Tue Jan 29, 2013 10:05 pm

What about Ex mode? I miss it from ST2 :´(
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Vintageous - New Vi emulation for Sublime Text 3

Postby C0D312 on Tue Jan 29, 2013 10:19 pm

guillermooo wrote:this must be the first S3 package ever

Congrats!
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Vintageous - New Vi emulation for Sublime Text 3

Postby guillermooo on Tue Jan 29, 2013 10:20 pm

That one will probably come next. I miss it too. In the long run, I want both to converge into one single package. As far as I can remember, VintageEx should be fairly easy to port to python 3.3.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Vintageous - New Vi emulation for Sublime Text 3

Postby guillermooo on Tue Jan 29, 2013 10:21 pm

C0D312 wrote:Congrats!


Thanks! :D
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Vintageous - New Vi emulation for Sublime Text 3

Postby lunixbochs on Tue Jan 29, 2013 11:09 pm

C0D312 wrote:
guillermooo wrote:this must be the first S3 package ever

Congrats!

I ported two last night but they both have issues waiting on jon :)
lunixbochs
 
Posts: 91
Joined: Fri Oct 08, 2010 10:18 pm

Re: Vintageous - New Vi Emulation for Sublime Text 3

Postby guillermooo on Tue Jan 29, 2013 11:15 pm

Ha,ha. I'll see you in court, then :D And I raise your issues too!
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Vintageous - New Vi Emulation for Sublime Text 3

Postby highend on Wed Jan 30, 2013 9:20 am

Great work! Works flawlessly with build 3007 :)

Could you implement "R" (shift + r) which replaces chars beginning from the current one until you end typing (and press esc)?

One thing that is not working (but iirc it's an original feature of vi(m)):
Pressing "^" in command mode should take you to the first character in the current line (it ignores whitespaces and tabs in front of it).

Thanks for breathing some new life into vi(m) emulation!
highend
 
Posts: 93
Joined: Fri Jan 20, 2012 2:47 pm

Re: Vintageous - New Vi Emulation for Sublime Text 3

Postby guillermooo on Wed Jan 30, 2013 9:48 am

Thanks for the feedback!

Adding aliases and synonyms isn't too hard, but I'm focusing on ironing out edge cases neglected by Vintage so the core becomes more reliable. I haven't had to change it much to support complex commands, so I'm optimistic about quick progress in the near future. Complex commands make for good testing, because they uncover shortcomings in the current code.

So while I'm giving priority to larger design issues, I'll be able to sneak in more tangible features along the way.

Also, I want to add some documentation for contributors. Adding new commands isn't too difficult, but some instructions are in order.

But that's long-winded way of saying: I recommend you report issues on GitHub, as I'm more likely to check them regularly:

https://github.com/guillermooo/Vintageous/issues
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Vintageous - New Vi Emulation for Sublime Text 3

Postby pipomolo on Wed Jan 30, 2013 2:21 pm

How funny I was just trying to look into fix one of the gripes I currently have with Vintage and ST3, and come across this post.

So I've been giving Vintageous a try. Must say I miss having the INSERT/COMMAND mode displayed in the status bar. Also, it seems like INSERT mode is on by default, which is annoying. Don't know if there is a setting for that, as there is for Vintage.

And about the issue I was having with Vintage, it strangely doesn't work with Vintageous either: when using the t or f motion to get to the next occurence of a specific character in the line, using ; should allow repeating that, and go to the next occurence, and , should to the same, only in reverse.

It doesn't work, I can use f_ to go to the first underscore, but pressing ; won't get me to the next one...
pipomolo
 
Posts: 16
Joined: Wed Jan 30, 2013 2:14 pm

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 8 guests