Sublime Text 2 Build 2091
sublimetext.com
sublimetext.com
As a Mac user, text editors are a pain in the ass. When you're booted into OSX, you wish you had access to your Windows-only text editors. When you're booted into Windows, you wish you had access to your OSX-only text editors. Running Parallels just to edit text is over kill. ST solves this problem beautifully--on Linux as well!
The best part is that the license if PER USER instead of per machine, so you can install Sublime Text on all your different operating systems.
I also want to mention that the config files and plugins are written in Python. Yes, the config files are actually Python files. I haven't made a plugin yet, but the API looks great and simple to use.
But you're right, both are good choices. You can highlight, bold, and italicize all your code at capricious whim, no other editors can compete with that
Notepad2 is my favorite light-weight text editor on any platform, although Text Mate served this role admirably.
Just out of the curiosity, what editor do you use on Windows?
PRO Tip: Pick an open source editor, so it's always updated (ejem TextMate).
Or it may just be because they do all what we can want from an editor (and even more).
I hope you get my point!
(and I agree that they have qualities that other editors don't match)
On a side note, Sublime has excellent project navigation functionality.
Emacs and Vim are so different from anything else, and you invest so much time customizing and tailoring them to your use that in the end they are actually your own editor, not Emacs or Vim anymore.
Other editors instead are usually based on the same general idea and interaction, so switching and trying different ones is easier.
I originally coded in C# with Visual Studio. The part I had most difficulty with while switching to Ruby wasn't the syntax change (I loved that part), but the editor. Visual Studio really does a lot for you, but you don't even need to do most of that stuff in Ruby.
Just finding a good text editor for Ruby is a challenge. I'm very picky about text editors, and I prefer to code in Windows, just because it's the most comfortable environment (in my opinion). I was coding in Redcar (http://redcareditor.com/) which is a cross-platform Ruby IDE. It was very buggy and felt gross. It wasn't efficient, and it is missing a lot. I tried Notepad++, but after 5 minutes of it, I didn't want to deal with it. It just felt really old. I tried Vim too, and of what little I do know of making it more productive, I thought it was awesome. I don't want to spend that much time learning how to use the utilities for coding though, I want to get started. I use Vim for editing various config files on my server machine, but other than that I rarely use Vim
Then, I tried Sublime Text 2 and I knew that's what I was going to go with. It was much cleaner, stabler, and offered the right kinds of things, things that I didn't get with Redcar, Visual Studio, or (especially) Notepad++.
That said, it's going to take real vim bindings for me to actually switch. Of all the amazing features ST2 has been adding, none of them increase my productivity while programming more than vim's modes right now.
I use bufexplorer[1]. There's something about minbufexpl's list that seems unappealing to me when it spans multiple lines. I also have CTRL-j/CTRL-k mapped to :bnext/:bprev. As for closing a buffer, my main window generally has a single vertical split, so I have the following kludge:
map <C-Q> :vert split<CR>:bnext<CR>:wincmd l<CR>:bdelete<CR>
This creates another vertical window temporarily, advances to the next buffer in that window, activates the window to the right (which still shows the buffer I'm trying to kill), and then deletes that buffer leaving me with two windows again. Amusingly, my older machines were slow enough to catch a glimpse of the third window, but it disappears too quickly to see on my new machine.[1] http://vim.sourceforge.net/scripts/script.php?script_id=42
edit: described kludge a bit better
I am using Janus, so maybe it overwrites this.
I have been looking for the equivalent of CommandT for buffers for a while, and the closest I've found is this: http://www.vim.org/scripts/script.php?script_id=1890
Unfortunately it's fuzzy file matcher is nowhere near as useful as CommandT's, so you'll have to use them in conjunction.
:help CommandT
...
*:CommandTBuffer*
|:CommandTBuffer|Brings up the Command-T buffer window.
This works exactly like the standard file window,
except that the selection is limited to files that
you already have open in buffers.
and then later... MAPPINGS *command-t-mappings*
By default Command-T comes with only two mappings:
<Leader>t bring up the Command-T file window
<Leader>b bring up the Command-T buffer window
Note that this is only available since 1.1b which was released in March.The biggest change (other than the fact that it's now primarily vi modal behavior rather than MacOS) is the missing find in project command. I get by with the find cli command, but it would be great if vico had a dialog-driven Find command as well.
Bonus is I'm becoming much more fluid at vi/vim which pays off just about everywhere.
The cross-platform license is also fantastic. There will be those days where you, for some reason, arrive on a Windows box and having Sublime Text around will make your day substantially less painful.
Sublime Text 2 is almost entirely C++ (with a smattering of Objective C for Cocoa and Python for plugins). Coding is generally fairly straight forward: code on one platform (mostly Linux at the moment, but I switch around frequently), and then make sure it still compiles elsewhere.
Sublime Text 2 itself uses a custom UI toolkit. There are a lot of apps where this may not make sense, but it's not such an unreasonable choice for Sublime Text, where I always knew that a lot of the UI controls were going to have to be custom no matter the toolkit (e.g., the text control and tab controls). The UI toolkit sits on top of a cross platform abstraction layer, which is more a union of platform functionality rather than lowest common denominator.
Github code: https://github.com/lunixbochs/sublimevim
Will try it later today.
-Syntax highlighting for Gemfile, Rakefile, etc (files without extensions).
-The selected file is only highlighted in the "Files" list, not in the directory view.
-Preferences are a little confusing - a better explanation in the comments of the various config files would fix this.
Now I'm going to go and buy it. Great work.
BBedit has been around for a long time. I remember when (besides TextEdit) it was the only decent editor on Mac.
Would anyone care to share some good reasons not to make the jump that I should consider?
The only thing that's different for people who've already paid for Textmate is that they already have Textmate. That might, indeed, make Sublime Text less valuable to them. But the person you're replying to already knows that, and is asking: What reasons might I have for not switching?.
Here's what I noticed in playing with it again for about 3 minutes this a.m.:
* Fly in animations. When you expand a folder (down) the folder contents fly in from the right instead of just sliding down. WHY? Mixed design metaphors like this drive me insane.
* Harder to distinguish folders from files in sidebar, making it harder to navigate around.
* Find in project appears in very slim opening at the bottom of the window. No highlighting of search terms so it's extremely difficult to visually parse.
If I find/remember other nitpicks I'll put them here.
These are super minor, but for me even the most minor of distractions or frustrations in my text editor can have a big impact on my productivity.
(a former TM user)
(PS: there are two very good vim peepcode casts and consider 'http://yehudakatz.com/2010/07/29/everyone-who-tried-to-convi...)
I do hope ST2 gets a better Mac icon for its final release. The big straight-on square doesn't look good; it needs a bit of perspective. Valve's Steam (which on the whole is very un-Mac-like) made this correction.
http://sublimetext.info/docs/en/reference/settings.html
An example would be "trim_trailing_white_space_on_save": true, (very useful)
Anybody else have any preferences that they use a lot that aren't obvious?
I also love the fact that I can click through files, without opening new tabs to see them.
Would really love it if the sidebar would highlight whatever file you're working on in the folders section as well as the files section
I'm also interrested in using commercial-wise, but not sure whether I can (it's using GPL or MPL 1.1 - and I'm not much familiar with MPL).
...figures, someone's already on the case.
Code folding is on the roadmap (http://sublimetext.userecho.com/topic/19281-syntax-code-fold...). Personally I don't miss it. I think it's probably just not a high priority.
If you're not having any luck with it, it's worth posting on the forums or emailing support@sublimetext.com