Re:Sublime Text 2.0 Released
by seclorum on Tuesday June 26, 2012 @09:41AM
(#4161674)
An absolutely joyful piece of software. I love it so much, I bought it right away. Plus, where else can you experience such a pleasant multiplatform situation? Great Job!
[ Parent
| on HN ]
I like it too. The main problem I have with it—and Textmate—is the lack of an emacs-like Follow-mode: http://www.gnu.org/software/emacs/manual/html_node/emacs/Fol... . It's 2012, I'm using a 27" monitor, and yet I can't find this feature, or one like it, in anything other than emacs, which has a learning curve far too steep for my pretty simple needs.
At one point, the Textmate website mentioned that a follow-mode-like feature was in the works, but 1) I can't find that mention anymore, and 2) even if it is, I'd rather not wait forever for it.
Honestly I've always looked at follow mode as mostly a cute toy. It's too distracting to use while editing, and in my single-screen environment I always want a shell beside my editor anyway. Surely the proper solution to this problem in 2012 is to buy another monitor and flip it on it's side, no?
> The main problem I have with it—and Textmate—is the lack of an emacs-like Follow-mode: http://www.gnu.org/software/emacs/manual/html_node/emacs/Fol.... .
I believe this plugin does what you want: https://github.com/atbell/SublimeSynchroScroll
Beautiful! Thank you!
In Vim, you can bind several windows to scroll together by doing :scrollbind in each. It's a bit more manual than what you do in Emacs, but you could use this and some :vsplit'ing to achieve a result similar to the follow mode described at your link (though I'm not sure if Vim has the learning curve you're after).
There is also the multi page plugin: http://www.drchip.org/astronaut/vim/index.html#MPAGE
The plugin BufferScroll allows to active follow-mode. https://github.com/SublimeText/BufferScroll
I'm not sure what use follow mode is but it doesn't seem to complicated, you might be able to implement a plugin that does it.
Joyful is the right word. I love that I can work across windows / linux / mac with the same awesome editor and it looks / behaves almost identically.
I started writing the same thing, and thought I'd just add onto this instead. Tried using Vim because I like the look of how flexible it is to tile windows, but I just cannot move away from Sublime's file search.
I don't even click tabs that I have open any more, I just hit Apple + p and start typing say g-l-o for global.css and I know its there, hit enter and voila.
Like you say, multi-platform too, so I get to use it on my little Ubuntu netbook and on my iMac. Love it. Really should buy a licence.
Command-T gives you similar functionality in Vim. It's great.
CtrlP is newer and is arguably much better than Command-T
Yes, CtrlP is faster and easier to install because it's just a vimscript. It also supports all of Command-T's functionality, so it's pretty much just great.
Hey, what agscala says below is absolutely right. I tried it, but honestly, Sublime Text 2 is far superior. Even my Vim-core colleague to my right agrees. And thats saying something!
Edit: Scrap that, rush-read - CntrlP doesn't beat Sublime's Apple+P. Honestly, try it and you'll see what I mean.
I've found Command-T slows way down on large trees, causing a very noticeable interruption in my "flow" when I use it. Also, it's written in ruby which can be a bit more painful to get started with if your distro doesn't compile ruby support into vim by default.
Do you find that it slows down only the first time you use it within an editing session, or everytime you use it? If only the first time, I've got a fork which caches the files to disk, so that you don't hit that slowdown very often. The downside is that when you add new files, you have to bust that cache.