TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

135 pointsby nikudaover 13 years ago

27 comments

wbondover 13 years ago
Jon (jskinner) has been doing a great job of continuous releases with a mix of new features and bug fixes. It is easily the best $60 I've ever spent on an editor or IDE.<p>If you haven’t tried Sublime Text 2 before, I recommend taking it for a whirl. Most developers I've shown it to really like it. Here are some reasons it won me over:<p>Multiple selections. Select a variable and then press Ctrl+d/Cmd+d a few times. Now type a new variable name. Or, select a few lines and press Ctrl+Shift+l/Cmd+Shift+l. You can now make batch edits to all lines<p>Goto Anything (Ctrl+p or Cmd+p). Start typing a filename. Type an @ and then start typing a function or method name. Hit escape instead of enter to return to where you were.<p>It also has a very nice Python API that makes writing plugins fun. <a href="http://www.sublimetext.com/docs/2/api_reference.html" rel="nofollow">http://www.sublimetext.com/docs/2/api_reference.html</a><p>There are so many other little things done right that you find once you start digging in.
评论 #2946232 未加载
评论 #2945628 未加载
评论 #2945563 未加载
评论 #2945500 未加载
frou_dhover 13 years ago
What I love about ST2 is that although it's very data-driven in configuration (several hierarchies of plain text configuration files + a simple python API), it somehow doesn't seem overwhelming, or that I'm missing all the cool tricks. I hope the author continues to comment all the configuration files and will document 100% of the API.<p>The editor itself has a great fluid feel. Looks-wise, the default theme is nice, and "Soda Dark", which seems to be a community favourite, is gorgeous.
jamesmossover 13 years ago
Have they sorted out the rubbish file manager yet? When I open a directory I don't need an animation of the contents sliding in from the right. This slows me down. I want to switch to ST2 but there's just too many little things holding me back.
评论 #2945052 未加载
评论 #2945262 未加载
评论 #2944838 未加载
评论 #2944894 未加载
评论 #2944821 未加载
pilifover 13 years ago
Now that I finally found out about remember_open_files, Sublime might grow into a viable TextMate alternative.<p>I had real trouble finally finding a reference of the configuration settings. The official documentation on version 2 on sublimetext.com is still in its very beginnings and it wasn't clear to me that sublimetext.info is actually valid documentation for version 2.<p>As a hint: Maybe add a comment to the global configuration file poiting to <a href="http://sublimetext.info/docs/en/reference/settings.html" rel="nofollow">http://sublimetext.info/docs/en/reference/settings.html</a> for a list of possible settings plus a note to add the settings to the user configuration file.<p>On a related note, the reason I want to turn off remember_open_files is because for me Sublime is not the editor I'm doing most of my project work in (I'm using IDEA with Rails and PHP plugins), so Sublime (or currently TextMate) is just something I use for quickly opening a few specific files on the command line or from finder.<p>Seeing all the old files open alongside the current one is just distracting, so I really need it to forget about previous incarnations.
bguthrieover 13 years ago
Sublime Text is a great editor. As a sometime vi guy, this makes me super happy.
GeneralMaximusover 13 years ago
ST2 is brilliant. If you're used to TextMate, I encourage you to give it a whirl. I think the trial version is an "unlimited" trial. It only nags you with a dialog box once in a while.
评论 #2944967 未加载
jasoncodesover 13 years ago
If you're a Vim user and like the idea of indent guides, check out <a href="https://github.com/nathanaelkane/vim-indent-guides" rel="nofollow">https://github.com/nathanaelkane/vim-indent-guides</a>
评论 #2944871 未加载
timmfinover 13 years ago
I've been using sublime text 2 for a month or so now and I am starting to become a big fan. I think that I'll purchase it soon. My requests...<p>1) Add all of the menu commands to the list of commands that show up when you press cmd-shift-p. It is very weird that some of the named commands (like convert to spaces) are available via cmd-shift-p, but others (like switch to 1 column view) are not.<p>2) I prefer the way textmate does multiple selection, where you can press a single key to toggle between regular selection mode and block selection mode.<p>Using cmd-shift-up/down in sublime text is very unpredictable. It works fine in the case you have several consecutive lines with no extra newlines in-between, but that is about it.<p>Though cmd-d to multi-select the next same word is pretty awesome.<p>3) Easier navigation between tabs in differnt split columns. I never remember the keys to switch between columns and I feel the existing normal tab management keys could do the job with a couple of tweaks.<p>For example, cmd-t is awesome, but I wish it was smart enough to automatically switch to an existing tab instead of opening a new tab with the same file in it.<p>Also, make cmd-shift-{ and cmd-shift-} move across all tabs and not just the tabs inside the currently selected column.<p>4) And lastly, the find in project results desperately need syntax coloring. It is so hard to scan a giant blob of plain white text.<p>Ackmate style file types would be nice too, but that isn't to big of a deal.<p>Again, awesome stuff. I can't wait to try out the vim bindings and I hope he keeps up the good work!
edanmover 13 years ago
So looks like I need to give Sublime Text another shot.<p>I switched from ST1 to vim after almost a year of using ST2 exclusively for work. I very, <i>very</i> highly recommend you try Sublime Text out - I've used many editors, and Sublime Text is still, for me, almost the perfect mix of must-have features and ease of use. Alas, vim's amazing power was a little too much of a draw.<p>And if you try out Sublime Text, don't forget to check out it's killer feature (which <i>doesn't</i> have): Multiple Selections. They're the single most powerful non-obvious editor feature I've ever seen, and I greatly hope they make their way to <i>every</i> editor when people start to understand that.<p>In the meantime, this new vim mode might just might bring me back to ST2 full-time. Here's hoping!
endtimeover 13 years ago
Thanks for adding indent guides; that's one of the must-have features of Komodo Edit for me.
评论 #2944893 未加载
评论 #2945179 未加载
kristiandupontover 13 years ago
ST looks really promising and I am excited to see where it will go.<p>I still use Code Browser (<a href="http://code-browser.sf.net" rel="nofollow">http://code-browser.sf.net</a>) which is oriented around folding. One feature from it that I really miss in other editors is the "Clone Window" function that creates a new tab of the same file, scroll and cursor position. IMO, this beats using bookmarks because you simply close the new tab to go back to where you were.
评论 #2945311 未加载
评论 #2945275 未加载
评论 #2945218 未加载
duckover 13 years ago
I would of checked out ST before, but I was thinking it was an Apple product based on the screenshot the article uses (I went back to the beta announcement and it shows the Apple interface as well). I see on the home page you use Windows screenshots now, but I didn't even think about visiting that page last time.<p>Maybe add some Apple/Linux/Window icons or text on the top somewhere so they show on all your pages? Looking forward to trying it out!
评论 #2945413 未加载
lobster_johnsonover 13 years ago
I love Sublime.<p>If you're like me and prefers TextMate's simple cycling autocompletion (usually bound to the escape key) to Sublime's weird snippets-and-best-match tab completion, I made a Sublime Text plugin that gives you just that: <a href="https://github.com/alexstaubo/sublime_text_alternative_autocompletion" rel="nofollow">https://github.com/alexstaubo/sublime_text_alternative_autoc...</a>
ianbishopover 13 years ago
I really wish that there was an auto-update. I've been using the beta for some time now, Jon's amazing constant updates actually becomes frustrating because you have download an installer every update. I would buy a license in an instant if this could be implemented.
评论 #2945999 未加载
neoviveover 13 years ago
Anyone able to get Zen Coding running on ST2? I'm following the instructions at: <a href="http://www.sublimetext.com/forum/viewtopic.php?f=2&#38;t=580&#38;p=10654#p10654" rel="nofollow">http://www.sublimetext.com/forum/viewtopic.php?f=2&#38;t=580...</a>
评论 #2946258 未加载
BasDirksover 13 years ago
Currently stuck on an ancient WinXP box due to my MBP frying itself, so I decided to see how ST2 runs on it. Absolutely wonderful experience @ 1.3Ghz/256RAM, and the vintage mode finally makes it a viable option for all my programming.
Androsynthover 13 years ago
For the past couple months, I've been trying to move from ST to vim, but couldn't get over my love for goto-anything; the usefulness of the minimap; and all the little details that made ST a great editor. This is great to hear.
strmpnkover 13 years ago
Very well done. The last few revisions has basically turned v2 into my full-time editor for most code. I still found myself reaching for vim so it's nice to have some more key parity between the two now.
joshuaccover 13 years ago
I love the UI, but can't seem to figure out how to open a directory without starting a new project. Am I missing something?
评论 #2946268 未加载
swahover 13 years ago
Could not download update yet, but I still have a problem with the black tabs. If the tabs matched the project drawer... :)
评论 #2945353 未加载
urzaover 13 years ago
Can it convert files to different encoding? (I noticed "open with encoding", but nothing like "save with encoding")
chetan51over 13 years ago
Is there any way to have it enter command mode instead of insert mode automatically after opening a file?
评论 #2947700 未加载
评论 #2947129 未加载
mtogoover 13 years ago
Sublime is (excluding vim) by far the best text editor i've ever used. I just wish i could afford it.
评论 #2946885 未加载
Raphaelover 13 years ago
Needs C-[ to double for Esc.
评论 #2944798 未加载
swahover 13 years ago
Would be cool if folks that bought ST2 could suggest and vote for features.
评论 #2946583 未加载
nvictorover 13 years ago
yep, HN killed the host.
评论 #2948485 未加载
adgarover 13 years ago
I like how, in the screenshot, line 1337 is presently active. That just can't have been an coincidence.