Re:Textmate 2 - Alpha this year
by mambodog on Monday September 26, 2011 @06:40AM
(#3038295)
It's good to hear, but it'll have to be pretty damn impressive to retake the ground lost to Sublime Text 2 and vim.
[ Parent
| on HN ]
Re:Textmate 2 - Alpha this year
by dorian-graph on Monday September 26, 2011 @06:56AM
(#3038328)
Sublime Text2 is really turning out to be fantastic. So many 'little' features that make it nice to use.. though as nice as they are I wouldn't use it without vi key bindings.
Re:Textmate 2 - Alpha this year
by gchandrasa on Monday September 26, 2011 @07:00AM
(#3038335)
Sublime Text2 has vintage mode, it's vi mode editing package. http://www.sublimetext.com/docs/2/vintage.html
Re:Textmate 2 - Alpha this year
by dorian-graph on Monday September 26, 2011 @07:42AM
(#3038417)
Oh, I'm aware it does. I was implying that as much as I like all the little, nice touches in Sublime Text 2 I still wouldn't use it without vi bindings. I started using it as my main editor after the last update which introduced vintage mode. :)
Warning, it doesn't always behave like vi. One thing I found was visual mode and pull up, pulls more than just the selected line (seems to be the entire block). Shift-V, j, Shift-J for those who want to confirm.
Sublime Texts vintage mode doesn't feel like vim at all. Even basic things like ':x' are missing.
By the same token it would be a great way for new users to learn vim while maintaining the comforts of ctrl-c ctrl-v and tab indents etc...
MacVim is great for that (if, of course, you are on a mac). It has all the great vi stuff along with the core OS style commands that everyone is familiar with. I believe gVim on Windows does the same but I'm not positive on that.
See :behave mswin
How would you do that? ctrl-v for instance is really useful in Vim.
You can probably implement these things yourself once you notice them missing.
And yet, last I tried the alpha/beta of ST2 I saw that it lacked a project view. That's super handy to me.
What do you mean 'project view'? It has practically the same views and navigation features of TextMate (+ the minimap thing).
I mean that I never found the thing or a place to turn it on. That's why I stopped using Sublime Text 2; I found it's UX to be confused. (Or at least able to produce that feeling in me.)
There are a few ways to add folders:
- Drag a folder onto the window from Finder/Explorer
- File/Open Folder to open a folder in a new window
- Project/Add Folder to Project to add an additional folder to the current window
- Via the command line
I was kind of in the same boat; the UI is there, but the way to open a folder (compared to vim) is semi non-obvious. Project > Add Folder to Project.
Once you do that, you get the sidebar view typical of textmate, and the extremely handy Ctrl-(or Command, depending on platform)-P. Slap that combo, start typing in a file, and it'll filter out the one you want from within the project. It makes navigating around for snap edits very quick :).
Oh. That seems a bit needlessly complex to me.
And I love PeepOpen, which adds this feature to Textmate and several other editors.