Textmate 2 - Alpha this year
blog.macromates.com
blog.macromates.com
10 June 2011: Duke Nukem Forever released - https://secure.wikimedia.org/wikipedia/en/wiki/Development_o...
12 July 2011: PuTTY 0.61 released - http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.ht...
20 July 2011: "Signs of life from GNU Hurd" - https://lwn.net/Articles/452296/
28 July 2011: GNU Emacs developers discover that Emacs has been violating the GPL since 2009 - https://lists.gnu.org/archive/html/emacs-devel/2011-07/msg01...
26 September 2011: Textmate 2 Alpha announced
I joked about this on my blog earlier this year, but wasn't expecting it to happen.
02 December 2011: Apple announces merger with Exxon-Mobile. All iOS devices now powered by gasoline. On completely unrelated news, price of gasoline jumps from $4/galon to $20.
I know a lot of people who have made it into the closed beta.
If I were to use Textmate now, it would need to be just a faster vim, with a less clunky vimscript, and it'd need to embed in a terminal, as vim made it possible for me to do everything on the command line and truly use working directories as my sole division between contextual workspaces.
Don't get me wrong, though. You don't like it you don't like it. It's all good.
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 :).
And I love PeepOpen, which adds this feature to Textmate and several other editors.
- 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
But, it illustrates that in Emacs you can always steal another editor's best features.
https://github.com/zpinter/emacs.d/blob/master/anything/init...
I have it bound to C-c a and it works great. Finds all references in a multi-hundred thousand line C/C++ code base in a few seconds.
As for vim, it's nice when you're in a console, but I don't think it's as pleasant to use.
The delay with TextMate has been rather absurd, though. Version 1 goes largely unmaintained (still no full-screen functionality for Lion). The last update was in November of 2010. Before then it was November of 2009.
I may be a programmer, but that doesn't mean I want to learn a new language just to use my text editor.
Also, I happen to like my scroll wheel.
"Also, I happen to like my scroll wheel."
Scrollwheels work great in Vim? I have mine set up to do kinetic scrolling even.. Nice to have over ssh.
Edit: Also yeah, gvim has menus.
Use a modern version of emacs.
> I may be a programmer, but that doesn't mean I want to learn a new language just to use my text editor.
You don't need to program emacs to use it to edit source code and interoperate with revision control and so on. A lot of other emacs hackers have done all that for you, in many cases upwards of 20 years ago.
> Likewise, configuration options are easily discoverable through the Preferences window.
Believe it or not, modern emacs has this. It's accessible the menu at the top of the window (or, in Mac-land, screen), even.
> Other features, like Filter Through Command, are easily discoverable via the menu system.
Again, odd as it may seem, emacs has this as well these days.
> you don't have to go google "Quit Textmate"
And emacs can be quit through the menu. You know, the one at the top of the window or screen. Unless you started it in a terminal window or some other text-only context, in which case you damned well got what you asked for.
You must not have very big projects. TM's find function totally breaks down (spinning beach ball hell) on anything except really small projects.
Fortunately, the solution is AckMate (https://github.com/protocool/ackmate), which integrates seamlessly with TextMate and has a very clean interface; and it's lightning fast.
AckMate is really the only thing I miss in Sublime.
While it is vastly preferable to the default cmd+shift+s (cause it doesn't beachball TM for 30 min), you can only Ack in project when you have a file open, and the result list definitely does not play nice with many of the color schemes available for TM.
Still, a lot better than find in project.
Anyway, Peepopen doesn't actually support Sublime. It needs editor support, which means someone has to write a plugin.
I don't consider my app "really small", or the prior two I worked on using TextMate.
Another problem with TM's built-in "find in project" is that it's not incremental. AckMate will list matches as it finds them, whereas TM will only return results once it's read everything.
Textmate was an inspiring piece of software when it first came out, but it barely runs under Lion (I fired it up to verify that find-in-project was as I remember, and it crashed on the way out), and still has one-character-at-a-time undo/redo which is unbearable.
So.. if I'm working with index.html and need it to be index.php, all I need to do is: cmd+ctrl+return, then: mv index.html index.php
As to unmaintained, there are bugfixes occasionally, but yes, no feature changes for quite a while. But that still makes it by far one of the most solid applications I've ever used - everything but my terminal application crashes more often than TextMate.
All that said, ack/grep all the way. Faster, with/without context, and doesn't leave bloat around.
2. it's fast
3. very good ctags support (jump to definitions between files)
4. go to anything (jump to files)
5. vim-like cursor position stack
6. vertical tabs
7. decent multiple-syntax highlighting (javascript/css in html pages)
Since I use it for Python/Django/CSS/JS work I also had to add some rules to ~/.ctags to correctly identify JS and CSS declarations.
Mind sharing your work?
I don't if TextMate does this or not, to be honest.
Plus, the internal API lets you create much more powerful extensions. For example, I replaced Sublime's somewhat idiosynchratic autocompletion to match TextMate's: https://github.com/alexstaubo/sublime_text_alternative_autoc...
Not sure if textmate2 is too late, but it certainly feel like it is, I do not see myself going back there.
Why? So you can use 6 years fixing it, for free? Or did you have someone else in mind doing that for you?
As an aside, I wish someone would write a Windows version of vim as good as MacVim. (Yes, I also wish I was talented enough to do it myself.)
What's MacVim give you? I never got the point. Everything I've seen also existed in the terminal with a few simple vimrc config. Mouse/trackpad, clipboard integration, OSX commands.
MacVim also works with PeepOpen, which was just a jaw-dropping upgrade from tab-completing all my file paths from the project root. It practically reads my mind.
I'm thinking I will give FuzzyFinder a try soonish, though, since it would also work on Linux.
Also it's particularly difficult to get Solarized setup in a terminal using 256 colors rather than manually resetting the 16 colors of your terminal to custom values.
If you have a sane terminal, vim works fine with 256 color support. A lot of people on OSX use iTerm 2 which I hear has fine 256 color support. I just use gnome-terminal on Linux that's had support forever and dropped solarized since the maintainer is not interested in making any setup work besides gVim/MacVim it seems.
I did the same and switched from MacVim to Vim because I'm often editing over ssh; also, I love control-z.
edit: and for fullscreen, iTerm2 works wonderfully.
But I've probably missed some out. You can sort of see me slowly progressing from PHP to Python depending on the work I'm getting (also Windows to Linux).
PC: Borland C → Visual Studio → Sublime Text
Linux: Emacs → Emacs
I now mostly use Emacs or BBEdit or Sublime Text depending on platform and task.
Win: HomeSite -> Notepad++
I have an extra invite, if you need one.
Here for the preview; https://skitch.com/hunvreus/f592a/backbone.js
Pretty clean UI elements, nice highlighting; so far I like it.
I'm also playing with mvim with the file drawer; https://github.com/alloy/macvim.git, neat too.
Using an editor that sucks 2Gb of RAM opening a simple C file is just... weird.
What's missing from it compared to TextMate?
Coda > TextMate > Coda > BBEdit > Coda > Sublime. I like Coda a lot, but it's not a great editor (just a good one). Sublime Text 2 seems to strike that perfect balance for me.
Then Textmate. My first big text editor that I invested time in. Textmate proved to be immensely powerful for LaTeX. Matlab worked fine, too. C++ less so, but manageable.
Then XCode, which worked great for Obj-C and Cocoa. Then MSVC again, as required by my job. Then I added Visual Assist X to make C/C++ programming bearable, then added ViEmu to fight off boredom.
But ViEmu led me down a slippery slope. When I had to leave MSVC for ventures into Ruby, Python, Lua, XML, JSON and Qt I naturally started gravitating towards Vim. And during all those ventures, I continuously improved my cross language vimming skills way beyond anything MSVC had to offer.
When I finally came back to MSVC I found it lacking. My fingers now walked and breathed Vim, and every feature of Vim that ViEmu did not implement was crippling my ability to code. Thus I looked into extending Vim with the IDE features I missed.
This is certainly not the end of the journey, but Vim has proved to be an amazingly powerful tool. It is the first editor I actively look forward to using. Sometimes I get this exhilarating sensation of power when slicing and dicing the code with Vim, fingers flying on the keyboard and Vim moving and changing code as if by magic.
That is bliss. Thank you Textmate for getting me started. Thank you ViEmu for showing me the way. Thank you Vim for liberating me!
It's also worth noting that Coda postdates TextMate and borrows a lot of its ideas, but is _intentionally_ a more "lightweight" tool (at least in terms of text editing). Its undo also doesn't suck.
I keep coming back to BBEdit/TextWrangler. I'm not allergic to vi/vim (it's what I used in college) but I prefer pico/nano if I'm forced to use a terminal editor.
I agree BBEdit is expensive.
More details at http://barebones.com/company/press/bbedit_pricing.html
Also, Xcode, because I have to. Looking forward to try AppCode.
I haven't gotten quite as fluent in BBEdit as I am in Textmate though, so a new release is very tempting. That said, I love the support and constant updates from BareBones.
I switched to Vim under Cygwin when I started dabbling in Ruby and needed a general-purpose text editor (rather than language-specific). When I switched to Mac, using PeepOpen sold me on MacVim.
In that list is a switch from one platform to another (after Eclipse).
Now, would it be nice to have TextMate 2.0? Yes, absolutely. Do I think I will seriously start working with it? It really depends on the features that it gives me, I am so used to vim now that I am not sure I could live without it.
Different editors have different strengths though I spend most of my non-terminal time in TextMate. Need to check out a recent SublimeText.
Assuming it has some nice new stuff, I, for one, would gladly fork over more money for a 2.0 release.
I was angry because I felt that forcing their loyal and paid users to buy another OS or, gasp, a new machine just to run their software - a code editor - was not very cool.
Other enthusiastic users mocked me for not wanting progress.
Ultimately I bought the latest OS I could run on my ageing G5, hoping TM2 would show up soon. But it didn't.
In the mean time I switched to Vim AND to Linux after what? 15 years of Mac. After nearly a full year I'm already more productive with it than I ever was with textMate.
Ho! I will definetly download the alpha/beta like I did for Coda, Espresso, Vico, Sublime Text 2.
TM2 has to be really awesome for me to look around for my license and make me come back.
Highly recommended.
I don't think I'll switch back, but I will play around with it and see what was so awesome that took that long to develop.
Shipping is important.
And every additional year makes your point even more relevant — I can understand, even if it is just subconsciously, that one cannot fit all the things I expect in a 6 or 12 month release cycle. I cannot accept the same for a 60 month cycle, even though I do know that that’s not how software development works (cf. mythical man month, etc.)
I love the interface, although it's still in beta and lacks a few handy features.
I've moved to Sublime Text 2 for the most part but you should also look at Chocolat. It's coming along nicely for basic editing.
http://www.sublimetext.com/blog/articles/sublime-text-2-buil...
Hope the alpha will all make us forget the release time. The bar is very high though.
If you'd said 'Sublime Text 2++', you might be a bit more on topic.
It'll be exciting to see what this Alpha looks like...it's certainly been a long time coming!
Different platforms and different audiences, mate.
It was good software, and had great longterm potential. But Allan's personality destroyed it (he's an artist, not a coder). I'm sure there's a great story behind how the project fell into the toilet, I'm looking forward to the book.