Live data from Hacker News

TextMate 2 (Public) Alpha

blog.macromates.com

161–170 of 178 posts

Re: TextMate 2 (Public) Alpha

#161

Earlier quoted context omitted.

I can navigate the TM drawer much faster than I can navigate NERDTree. And I've probably spent more time in Vim so it's probably not just habit, but usability. Yes, command-t works, I mean, Vim is not a bad editor at all, I just find that TM is easier to use which leads to quicker workflows.

"""I can navigate the TM drawer much faster than I can navigate NERDTree. """ Then you're doing it wrong.

[deleted]

Re: TextMate 2 (Public) Alpha

#162

Earlier quoted context omitted.

Yeah, but far more people will never learn vim because of the learning curve.

Vi is incredibly easy to learn, but it takes some learning before you can accomplish anything. You can sit down with Bill Joy's original paper, read it, try stuff out, and you will be using Vi at 50% of the competence of a master with years of practice. Emacs on the other hand seems to be simpler to get started in, but it never gets simple like Vi does. After you get over the first hump, you just see the Himalayas ri…

If backup files are giving you an issue, you can change the behavior of emacs so that it saves backup files in a separate directory, instead of the alongside the file that is being edited.

(setq backup-directory-alist `(("." . "~/saves"))) (setq tramp-backup-directory-alist backup-directory-alist) (setq backup-by-copying t)

Re: TextMate 2 (Public) Alpha

#163
post #50

I can't believe the number of "oh screw this i'm using " comments sprinkled all over everything TM2 related these days. It's as if people need to echo their personal choice every time TM is mentioned to give them a sense of reassurance that they made the right decision and to prevent themselves from relapsing back to TM. I'm looking forward to see how TM2 progresses!

There is a palpable anxiety and dishonesty in all these attacks, it's stunning really.

Re: TextMate 2 (Public) Alpha

#164
post #19

Earlier quoted context omitted.

This is a common misconception about ST2. The editor is actually written in C++, but exposes a Python API for plugins.

The dependence on Python for configuration is for me a decisive objection. My copy of Textmate has little scripts buried all over it in several languages but with Sublime Text I am completely frozen out, or so it seems.

Actually, Python isn't used for configuration at all, just for writing plugins. JSON is the configuration language. You can even change the menus in the app by editing the Main.sublime-menu.

The reason Python is used for the API is because the editor is cross-platform, and Python is the best choice for such a situation. If you want to run other scripts or programs, you can use the python subprocess module.

If there is something you are looking to tweak, http://sublimetext.info/docs/en/ has a lot of good info, and the forum (http://www.sublimetext.com/forum/) tends to be a pretty good place to ask questions.

Re: TextMate 2 (Public) Alpha

#165
post #159

Earlier quoted context omitted.

Nah, Textmate 1.5 as it is is perfectly fine. I mean, who really needs chunked undo anyway? And opening files larger than a few hundred k? Really, just split them. They"re a bad idea anyways. Or something like incremental regex search. Real men can read the code faster than any search indexer, so who needs that? Seriously though, I agree that some incremental fixes to Textmate 1.5 might have been a saner option than…

Being a user of TextMate 1.5, I don't know what issues you're referring to with "files larger than a few hundred k?" I've opened multi-megabyte XML files and dealt with them just fine. I've done regex search and replace commands, fairly complex ones, on SQL backups that are multi-megabyte without issue. I repeat, what's the complaint? TextMate2 is a bit rough, yes, but I don't expect better from a prerelease. As it i…

Regex search always uses a separate Window. Call me nitpicky, but I want to see my search results highlighted while I'm typing them. Especially when it is a regex search.

Also, my Textmate regularly crashed whenever I tried to open something larger than a meg or two.

Re: TextMate 2 (Public) Alpha

#166

Earlier quoted context omitted.

Or I'm really fast?

Faster to 1) leave the keyboard, 2) navigate with the mouse to the project pane, 3) select file, 4) back to the keyboard etc than to press 2-3 keys in Vim to move between NerdTree and your content and open whatever? I don't think so. In the very least, you could just use NerdTree with the mouse, exactly like TM, and it would be the exact same speed.

Some, particularly those who lean to the design side of things but still do a lot of coding, think spatially. For us, navigating the mouse to a specific point in space is faster, or at least less jarring mentally, than thinking of the name of a path to a file. The spatial and muscle memory takes care of switching to the file, allowing other high-level thoughts to stay in context.

It's the same issue I have with working in the terminal. Even after years I still find it very slow to navigate, because I always have to stop and think of the actual names and type them (partly) out, instead of letting my spatial and visual pattern matching do its thing.

Re: TextMate 2 (Public) Alpha

#167

no cross platform support = no interest. If you only ever use a mac, textmate is awesome. However, having to use a different editor in every OS is just ridiculous. Thankfully Sublime Text 2 is around.

Textmate 2 comes with rmate which may be an alternative. IMHO it is better to be great on one platform instead of mediocre on many.

Re: TextMate 2 (Public) Alpha

#168

In the mean time Sublime Text 2 has all of the Alpha features as well as cross platform support and support for TextMate bundles. You should really give it a shot if you haven't.

Sublime Text 2 is like Java AWT - awful. Cross platform means mediocre. Literarily, because one will have to choose a common denominator. I have tried ST2 several times on OSX and never liked it. Even if TM2 is only an alpha release it feels much better than ST2. I've been using TM2 all day and I really like it. The new stuff comes to light when you start working with the text. Auto-complete, indentation, parsing, highlighting and find/replace are so much better and there are also lots of small nuggets such as multi-selection. It is apparent that the editor/engine part is much improved, more solid and snappy. I think TM2 will be great once it is released.

Re: TextMate 2 (Public) Alpha

#169

Earlier quoted context omitted.

On linux, I've been using tiled window managers exclusively for about three years now and the lack of good tiling features is almost painful when I use windows (though the win7 tiling features certainly were a welcome addition). I personally hate having to reach for the mouse if I'm typing, so tiled window managers are a perfect fit for me.

Which tiling window manager have you settled on?

I've been using musca[1] because out of the bocks, it works exactly how I wanted a window manager to work and at the time it was well maintained. Though it doesn't seem to be maintained anymore, but I have not had any problems with it (plus the source is available anyway, so I could always attempt to extend it myself should I ever need to).

[1] http://aerosuidae.net/musca.html

Re: TextMate 2 (Public) Alpha

#170
post #164

Earlier quoted context omitted.

The dependence on Python for configuration is for me a decisive objection. My copy of Textmate has little scripts buried all over it in several languages but with Sublime Text I am completely frozen out, or so it seems.

Actually, Python isn't used for configuration at all, just for writing plugins. JSON is the configuration language. You can even change the menus in the app by editing the Main.sublime-menu. The reason Python is used for the API is because the editor is cross-platform, and Python is the best choice for such a situation. If you want to run other scripts or programs, you can use the python subprocess module. If there i…

Yes, exactly, what are called plugins in Sublime Text jargon can only be written in Python. Thus for example, the illustrations of things you can do with the exciting plugin facility -- duplicating the selected text, or encoding the selected text with rot13 -- involve composing things in Python, of all things, else you are completely disabled.
Post reply on HN