Looks great, but any chance of a static compiled version for Linux 32/64bit?
I'm getting: ./sublime_text: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Linking with ln -s /usr/lib/libpng14.so.14 /usr/lib/libpng12.so.0 doesn't work: ./sublime_text: /usr/lib/libpng12.so.0: version `PNG12_0' not found (required by ./sublime_text)
I got passed the libpng error by installing libpng12 from AUR. Now when I run ./sublime_text I get these errors: http://pastebin.com/NYWSaPSe
It's strange because running "python PackageSetup.py" doesn't produce the same errors. My PYTHONHOME and PYTHONPATH are both correct. Using python 2.7.1 on arch.
Sublime Text is awesome, the main reason I was being stuck with Windows for a long time. But having to use bash and not wanting to pay a lot of money made me learn Emacs.
How many people are willing to pay 59$ for a pretty simple (yet awesome, but not in the sophisticated feature-rich Java-world way) editor? My bet it isn't public information but maybe someone have similar statistics
I always thought Mac users are more willing to pay than Windows users. Sublime for a long time was windows-only and almost free to use (a "nag" alert is not bothering at all)
I don't want to say I doubt anyone will buy Sublime. I wanted to know if it allows to pay for a living or to buy a yacht ;-)
$60 can be, depending on where you live, a lot of money. Not everyone lives in USA where $60 is his hourly rate ...
Now I know that a text editor is programmer's basic tool, but if $60 represents one week of your salary and you are already on a tight budget, then I can see how one could not afford that.
1) Available for every platform (learn once, use everywhere)
2) Licensed per user (buy once, use everywhere)
Loving it already and will purchase imminently.
Edit: Would love it even more if I had a basic vim keymap at hand and could always grab. Looking for most of the basic navigation, editing (yank, delete, paste, etc), search/replace and stuff like that.
The fuzzy finder is very fast but it's missing a key thing from textmates fuzzy finder ( Command-T for vim is missing this as well ) that's a bias for close proximity of the character matches. shrb should match a file called shop.rb before a file called shops_controller.rb
Don't know about emacs, but vim has an (optional) gui.
>In Sublime you can select text with your mouse
And in vim - even in the console version in fact. It's useful being able to select text, scroll with the mouse wheel, etc in a terminal window, particularly if you're editing a file on a remote machine.
>and on the right there is a graphical overview of the entire document.
Depending on what 'graphical overview' means, it's almost a certainty that vim can do something similar. The only thing I can think of where that would not be the case is if you mean something like a thumbnail view of the whole document (can't see much use for that offhand, but maybe) [edit: I had a second look to see what you meant by that, and yeah it looks like that's one thing vim can't do].
Not sure if you're aware but it also has features like tabs, arbitrarily split screen, colouring (console version is limited to 256 colours unfortunately, not sure about gui [edit: gVim supports proper 24bit colours]) and numerous other features that you might only expect in a dedicated graphical application.
Having an (optional) gui is something "new". The parent post I was responding to asserted that there was nothing new in the editor space since emacs and vi.
I just opened vi on my machine and I was unable to select text. Maybe there's a way to get it to work... but in Sublime and other graphical editors it just works.
Thumbnail may have been a better word... Sublime has just that. I've found it useful when working on long files. But regardless, there are other features that a GUI enables, like code folding...
I have been using Sublime Text for about a year now and it's my killer app for Windows. I've had to learn to use msysGit and plink/putty/pageant just because I had to have Sublime Text as my environment.
I've already informed my boss he has to buy ST2 as soon as it's available. It is, especially with Zen Coding plugin, one of my favorite programs (design/function/utility) that I've ever installed, and I've tried a bunch of the "programmers" text editors for Windows and Linux.
I've been using Sublime for quite some time on Win7, and I'm in love.
I keep trying to use Linux as my development platform, and I won't use a Mac (I got beaten with a mac as a young man. It's an emotional reponse), but for some reason I really dislike every nix text editor I've ever tried (emacs, vi, vim, gedit, kate, etc...) and constantly surprised at how ugly and inelegant the text editing world seems on the nix side. BTW, I'm not trying to flame or argue, this is just IMHO.
I've recently been doing some work with mongrel2, lua and Tir, which means that I have to develop on Linux, but I've been very crabby about using text editors that I really dislike. So, I'm really glad to have a port of sublime that works on linux.
Thanks for all the hard work, and I'm really looking forward to the new changes. Keep up the great work!
"and constantly surprised at how ugly and inelegant the text editing world seems on the nix side."
Elegance of the editor, how it looks? Who cares?! You can make excuses about how emacs/vim are inelegant to rationalize your laziness (I know, I was there for years before taking the plunge.) emacs/vim are always the first to get programming modes for new languages. That should tell you something. People implementing programming languages are using vim/emacs. Why use something less? These are the tools of the trade and they are free. Print out a couple cheat sheets. Put them up around your workstation, and stop whining!
I studies graphics and animation years ago in the days of OS8 and OS9, and I believed all the hype about how much better Macs were than PC's. So, I was extremely excited when the school I was attending got a lab full of G3's and G4's.
Then, I started using them for hours on end and the beating that I received was through the horrors of using hockey puck mice, and mice without a right click. The trauma of the "click of death" on zip drives. Being exhausted and sleepless and helplessly furious after a render that was going to take 22 hours crashed after 21 hrs and 30 minutes. And, finally, the horror of realizing the that the amazing innovation of being able to "write my video files to DVD" was more or less useless because burning 5 minute video file on the g4's super drive took 2 hours.
After being bitterly disillusioned with apple and mac products those years, but feeling that there was something terribly terribly wrong with me because it was so obvious to everyone around me that "Macs are so much better for graphics".
So, I quietly saved up a dollar here and a dollar there until I finally had enough money to put together my first PC build and I installed Win2k on it, and never looked back.
After my first build, I felt so liberated by being able to upgrade my hardware when ever I felt like it, I never went back. My 20 hour renders at the computer lab took 1 hour on my new processor.
I've been doing my own builds, and swapping out parts in my PC's ever since. I've tried OSX repeatedly. I've built a couple of hackintosh's. But, every single time, the trauma and the horror, and the deep deep bitterness and resentment that I have harbored in my heart against Apple has never gone a way.
I loved Apple once. But after those 3 years of using exclusively Apple products, now I only have an Apple shaped scar burned deep in my soul.
I don't expect other people to agree with me. I know they think that I can't code worth a crap because I'm use Windows as my OS. The disdain and contempt that people have of my favorite OS hurts, but nothing will hurt me as much as Apple has. It's an emotional thing I have.
Haskell and Erlang seem to run on Windows just fine when I mess around with them. The Lua environment on Windows is quite a bit better than the environment on Ubuntu. Mongrel2 doesn't, so I'll settle for running on Ubuntu for the time being.
Python runs beautifully, and the installers work quite a bit better than IMHO than the package system on Ubuntu. iPython is the shell that I live on most of the time, and when I need to automate server stuff, I find that Powershell is actually a much better shell than bash for a lot of stuff that I need on a regular basis. Being able to pipe around full objects rather than plain text is quite nice. When I don't have powershell lying around and I have to settle for bach, I find that I quite miss it.
The search engine that I'm building in my spare time doesn't seem to have any problems running on a Windows server, either.
So, no, I really don't get why people have such a chip on their shoulders when it comes to programmers running Win7. All I can think of is that people have some sort of techno-religious myopia. But, then again, there's jerks in all walks of life. I suppose programmers aren't exempt from that.
I do programming in Lua as well lately and nothing beats vim for me.
How can you switch to an editor that doesn't have documentation for it's custom key binding API yet? I currently use my leader key as comma "," and have bindings to open an interpreter, save file and run in interpreter, execute block selected in visual mode in interpreter and leave interpreter open, execute selected block + os.clock() to benchmark a snippet, etc. http://www.lua.org/pil/1.4.html
>mongrel2, lua and Tir
Also, respect to Zed and MVC fans. However I've found it simpler to write a pure Lua coroutine\socket based stack on top of HTTP and TokyoCabinet than to use preexisting servers, DBMS, or frameworks. The advantage of LuaJIT is it allows you to develop highly refactorable multiprocess stack in one language and have it probably be faster than I/O that you won't need to use non-refactorable C black boxes or frameworks.
Wow.. I'm really impressed. Later I'll try it at home to see if it looks this good under KDE to.
Although the price is a bit steep for me (given that I live in Argentina, 59$ represents ~7% of my monthly income), any chance the price is going to go down in the future?. How does this product's price compare with similar ones in the market?, maybe I'm a bit disappointed because of my low income.
I've been using Sublime Text daily for the past months, and I'm really, really happy with it. I've jumped from one text editor to another mostly within a few weeks of usage; most of the editors just didn't feel that good (e.g. cluttered UI). The last text editor I actually enjoyed working with was SciTE (http://www.scintilla.org/SciTE.html). But then I somehow managed to find Sublime Text, gave it a try, and since then I've been using it daily and never went back.
The only critic I have is directed to the missing Print function, but it's only a minor problem for me; it's not like I don't have any alternatives to accomplish this task.
Summa summarum it's a very good text editor IMHO, and I'm always learning a new, convenient function by accidentally hitting CTRL + random key (e.g. CTRL + D).
It should be just a matter of dragging a folder onto the side bar (or using the Project/Add Folder to Project menu item) - drop me an email (jps@sublimetext.com) if this isn't working for you.
Nevermind I take it back, I just had a lot of files, took a while to load. This is tremendous!! Plus you don't really need the file browser with the Go To Anything functionality.
I've been using Sublime practically from when it was first released (what, 2 years now?). I do ALL of my development in it and I don't have any need to use anything else. The multiple cursor thingy and side-by-side editing are simply amazing. Especially the multiple cursor functionality, I can't say enough praise about it. Plus one awesome "feature" of that is, that anybody watching over your shoulder when you are using it has that dumb "WTF" look on his face. Priceless.
Oh, and no f* icons. That's awesome too. And the built-in spell-checker, and multiple replace, and jump to symbol, and full screen mode, and mini-map, and and and ... really an amazing product (can't believe it's that cheap (and I consider 60 bucks a lot of money)).
Looking forward when v2 gets stable. Thanks Jon, keep up the good work!
It's generally just a matter of getting your hands on a .tmLanguage file (the same format as TextMate), and putting it somewhere in your packages directory (~/.Sublime Text 2/Packages/ on Linux).
The top Go.tmLanguage reported by Google appears to be a work in progress though, I'll see if I can get something sorted for the next version - I'd like to have Go support out of the box.
Quite arguably one of the best text editors that I've used, It's my primary code/ text editor when i work on a windows machine. I just wish the OSX version was just as good. Looking forward to trying out this version.
It is not part of the GTK version on RHEL5 (1.2.10). This might be a difficult problem. RHEL5 is full of old packages. I wouldn't worry too much about it, a lot of government and military facilities use it but everyone else moved on. RHEL6 is out but it will be some time before it makes it through the red tape of approvals.
I'm running into a few miscellaneous usability issues. Hopefully this public alpha helps shed some light on them and help jskinner polish this app to beta and release. Is there a public forum or site that we can report these to (something like getsatisfaction or tender for customer support)?
Sublime Text supports TextMate language files. I've added COBOL syntax highlighting for a friend by just pulling apart someone's tmbundle, the same could probably be done with clojure.
I stopped reading when I saw that CMD+P does "Goto Anything" instead of print. Please use standard keyboard shortcuts... Too bad because it looked awesome!
As much as possible, I do try and follow the conventions of the host OS. Cmd+P is the only exception, which I feel I can get away with due to there being no support for printing yet (and a few other historical reasons, where Ctrl+P is used for similar functionality in Sublime Text 1).
Thank you for your answer. I'll look into your software, it seems pretty awesome! You should however consider being more strict about host OS standards in my opinion. It would just makes our life a little bit easier.
You missed the point. The fact that CMD-P doesn't do what it's supposed to do was a big warning to me.
One of the best things on a Mac is that every application uses standard keyboard shortcuts. For example, CMD-, always opens preferences. I believe that anybody who doesn't follow these conventions is doing it wrong. If the application doesn't print, CMD+P shouldn't do anything in my opinion.
I agree that this is very important, since I tend to lean heavily towards keyboard-driven interaction. It's not enough of an issue to prevent me from using the editor, though.
There was a thread about this on the ST forums a while back - I can't seem to find it now. If I recall, block collapsing was a low/non-prority because it was viewed as lending itself to poor code, and mostly compensated for by other features.
My personal opinion - it'd be nice, but I don't miss it enough to switch editors or bug the author - maybe someone will make a plugin for it. I haven't missed it at all in Python or Haskell. Last time I worked on a Java project, I missed it a bit at first, but mostly found that the minimap got rid of that feeling of looking at code through tunnel vision that made me want to collapse it, and by the end of the project I'd shifted to using ST more than Eclipse. I might feel differently if I jumped back in to C#, with #region and all, but I really feel like the C language family lends itself more to IDEs anyway.
This looks nice and I will give it a try. But when will coding editors set the tab key to "spaces" by default? It's not just this editor but Eclipse and others.
not that i don't appreciate good software, but 60$ for an editor seems a bit steep...especially with all the great alternatives out there. Lower the upfront cost and I'd be more likely to buy and pay for future 3.0 update. Thanks!
It has most, but not all. Some commands are in the menu, but have no key binding: you can find these via "Preferences/Browse Packages", and then open up "Default/Main.sublime-menu".
I like it...it's crashed on me a few times (64-bit) but other than that it's nifty. The best part is the minimap (high level view of source on right hand side).
Is anyone aware of a plugin for vim that does this sort of thing?
I'd really like to move to an IDE that understands js code as well as Netbeans does but without the sluggish performance of the editor. I like Sublime Text so far, but I really miss the ability to see out-of-scope variables and catch minor errors.
Anyone know how to accomplish this in Sublime Text ?
155 comments
[ 2.7 ms ] story [ 214 ms ] threadI'm getting: ./sublime_text: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Linking with ln -s /usr/lib/libpng14.so.14 /usr/lib/libpng12.so.0 doesn't work: ./sublime_text: /usr/lib/libpng12.so.0: version `PNG12_0' not found (required by ./sublime_text)
EDIT: Ah, you've added that now. I'll do some investigation: could you let me (jps@sublimetext.com) know which distro you're running?
(I'm the author of Sublime Text, btw)
thanks for taking the time to have a look!
How many people are willing to pay 59$ for a pretty simple (yet awesome, but not in the sophisticated feature-rich Java-world way) editor? My bet it isn't public information but maybe someone have similar statistics
I don't yet know how Sublime Text compares to TextMate, feature-wise, but TextMate seems to have sold pretty well at (roughly) this price point.
I don't want to say I doubt anyone will buy Sublime. I wanted to know if it allows to pay for a living or to buy a yacht ;-)
Now I know that a text editor is programmer's basic tool, but if $60 represents one week of your salary and you are already on a tight budget, then I can see how one could not afford that.
For anyone waiting for textmate 2, give this a look. It may very well be just what you are looking for.
Best part is you can completely change all the keybindings (if you want) so you can create your VIM or Emacs setup if you so choose.
Happy day....
Killer features beyond just being so good:
1) Available for every platform (learn once, use everywhere)
2) Licensed per user (buy once, use everywhere)
Loving it already and will purchase imminently.
Edit: Would love it even more if I had a basic vim keymap at hand and could always grab. Looking for most of the basic navigation, editing (yank, delete, paste, etc), search/replace and stuff like that.
* Initial theme is great
* Undo isn't character based
* Split screen/pane
* Top-right there is a cool preview of the document
* Cmd-R gives you quick access to methods in the current file
* Everything seems very quick & snappy and for the most part looks good especially for a cross-platform app.
On the less positive side:
* The fuzzy finder could be a little more relaxed (typing a few letters then a space will give you no results)
* Find files in project could do with a bit of UI (and I'm not sure it does replace as well)
* The project drawer looks like the sidebar in Finder rather than a proper file/directory view.
Really impressed though - definitely tempted to give it a go...
Seriously folks, just learn one of those two, there is nothing new under the sun when it comes to text editors.
In Sublime you can select text with your mouse and on the right there is a graphical overview of the entire document.
Don't know about emacs, but vim has an (optional) gui.
>In Sublime you can select text with your mouse
And in vim - even in the console version in fact. It's useful being able to select text, scroll with the mouse wheel, etc in a terminal window, particularly if you're editing a file on a remote machine.
>and on the right there is a graphical overview of the entire document.
Depending on what 'graphical overview' means, it's almost a certainty that vim can do something similar. The only thing I can think of where that would not be the case is if you mean something like a thumbnail view of the whole document (can't see much use for that offhand, but maybe) [edit: I had a second look to see what you meant by that, and yeah it looks like that's one thing vim can't do].
Not sure if you're aware but it also has features like tabs, arbitrarily split screen, colouring (console version is limited to 256 colours unfortunately, not sure about gui [edit: gVim supports proper 24bit colours]) and numerous other features that you might only expect in a dedicated graphical application.
I just opened vi on my machine and I was unable to select text. Maybe there's a way to get it to work... but in Sublime and other graphical editors it just works.
Thumbnail may have been a better word... Sublime has just that. I've found it useful when working on long files. But regardless, there are other features that a GUI enables, like code folding...
I've already informed my boss he has to buy ST2 as soon as it's available. It is, especially with Zen Coding plugin, one of my favorite programs (design/function/utility) that I've ever installed, and I've tried a bunch of the "programmers" text editors for Windows and Linux.
Thanks Jon!
I keep trying to use Linux as my development platform, and I won't use a Mac (I got beaten with a mac as a young man. It's an emotional reponse), but for some reason I really dislike every nix text editor I've ever tried (emacs, vi, vim, gedit, kate, etc...) and constantly surprised at how ugly and inelegant the text editing world seems on the nix side. BTW, I'm not trying to flame or argue, this is just IMHO.
I've recently been doing some work with mongrel2, lua and Tir, which means that I have to develop on Linux, but I've been very crabby about using text editors that I really dislike. So, I'm really glad to have a port of sublime that works on linux.
Thanks for all the hard work, and I'm really looking forward to the new changes. Keep up the great work!
Elegance of the editor, how it looks? Who cares?! You can make excuses about how emacs/vim are inelegant to rationalize your laziness (I know, I was there for years before taking the plunge.) emacs/vim are always the first to get programming modes for new languages. That should tell you something. People implementing programming languages are using vim/emacs. Why use something less? These are the tools of the trade and they are free. Print out a couple cheat sheets. Put them up around your workstation, and stop whining!
I studies graphics and animation years ago in the days of OS8 and OS9, and I believed all the hype about how much better Macs were than PC's. So, I was extremely excited when the school I was attending got a lab full of G3's and G4's.
Then, I started using them for hours on end and the beating that I received was through the horrors of using hockey puck mice, and mice without a right click. The trauma of the "click of death" on zip drives. Being exhausted and sleepless and helplessly furious after a render that was going to take 22 hours crashed after 21 hrs and 30 minutes. And, finally, the horror of realizing the that the amazing innovation of being able to "write my video files to DVD" was more or less useless because burning 5 minute video file on the g4's super drive took 2 hours.
After being bitterly disillusioned with apple and mac products those years, but feeling that there was something terribly terribly wrong with me because it was so obvious to everyone around me that "Macs are so much better for graphics".
So, I quietly saved up a dollar here and a dollar there until I finally had enough money to put together my first PC build and I installed Win2k on it, and never looked back.
After my first build, I felt so liberated by being able to upgrade my hardware when ever I felt like it, I never went back. My 20 hour renders at the computer lab took 1 hour on my new processor.
I've been doing my own builds, and swapping out parts in my PC's ever since. I've tried OSX repeatedly. I've built a couple of hackintosh's. But, every single time, the trauma and the horror, and the deep deep bitterness and resentment that I have harbored in my heart against Apple has never gone a way.
I loved Apple once. But after those 3 years of using exclusively Apple products, now I only have an Apple shaped scar burned deep in my soul.
I don't expect other people to agree with me. I know they think that I can't code worth a crap because I'm use Windows as my OS. The disdain and contempt that people have of my favorite OS hurts, but nothing will hurt me as much as Apple has. It's an emotional thing I have.
All that to say, I will never trust Apple again.
:) </hahaha but, no, really>
... what sort of person thinks that? That's just insane.
Haskell and Erlang seem to run on Windows just fine when I mess around with them. The Lua environment on Windows is quite a bit better than the environment on Ubuntu. Mongrel2 doesn't, so I'll settle for running on Ubuntu for the time being.
Python runs beautifully, and the installers work quite a bit better than IMHO than the package system on Ubuntu. iPython is the shell that I live on most of the time, and when I need to automate server stuff, I find that Powershell is actually a much better shell than bash for a lot of stuff that I need on a regular basis. Being able to pipe around full objects rather than plain text is quite nice. When I don't have powershell lying around and I have to settle for bach, I find that I quite miss it.
The search engine that I'm building in my spare time doesn't seem to have any problems running on a Windows server, either.
So, no, I really don't get why people have such a chip on their shoulders when it comes to programmers running Win7. All I can think of is that people have some sort of techno-religious myopia. But, then again, there's jerks in all walks of life. I suppose programmers aren't exempt from that.
>mongrel2, lua and Tir
Also, respect to Zed and MVC fans. However I've found it simpler to write a pure Lua coroutine\socket based stack on top of HTTP and TokyoCabinet than to use preexisting servers, DBMS, or frameworks. The advantage of LuaJIT is it allows you to develop highly refactorable multiprocess stack in one language and have it probably be faster than I/O that you won't need to use non-refactorable C black boxes or frameworks.
The only critic I have is directed to the missing Print function, but it's only a minor problem for me; it's not like I don't have any alternatives to accomplish this task.
Summa summarum it's a very good text editor IMHO, and I'm always learning a new, convenient function by accidentally hitting CTRL + random key (e.g. CTRL + D).
Looking forward when v2 gets stable. Thanks Jon, keep up the good work!
The top Go.tmLanguage reported by Google appears to be a work in progress though, I'll see if I can get something sorted for the next version - I'd like to have Go support out of the box.
https://github.com/rsms/Go.tmbundle/tree/master/Syntaxes
Maybe it should be included by default
It's a shame they've not heard about $XDG_CONFIG_HOME (http://standards.freedesktop.org/basedir-spec/basedir-spec-l...)
[Yi]: http://haskell.org/haskellwiki/Yi
[1] "Don't get me wrong: Emacs is a great operating system – it lacks a good editor, though." --Thomer M. Gil
Would a statically linked Linux executable work for this?
It is not part of the GTK version on RHEL5 (1.2.10). This might be a difficult problem. RHEL5 is full of old packages. I wouldn't worry too much about it, a lot of government and military facilities use it but everyone else moved on. RHEL6 is out but it will be some time before it makes it through the red tape of approvals.
http://www.google.com/search?sourceid=chrome&ie=UTF-8...
Edit: I hadn't seen your posts below saying that this wasn't working for Clojure
"Too bad because it looked awesome!"
You will not use it because of the CMD+P problem!?
One of the best things on a Mac is that every application uses standard keyboard shortcuts. For example, CMD-, always opens preferences. I believe that anybody who doesn't follow these conventions is doing it wrong. If the application doesn't print, CMD+P shouldn't do anything in my opinion.
My personal opinion - it'd be nice, but I don't miss it enough to switch editors or bug the author - maybe someone will make a plugin for it. I haven't missed it at all in Python or Haskell. Last time I worked on a Java project, I missed it a bit at first, but mostly found that the minimap got rid of that feeling of looking at code through tunnel vision that made me want to collapse it, and by the end of the project I'd shifted to using ST more than Eclipse. I might feel differently if I jumped back in to C#, with #region and all, but I really feel like the C language family lends itself more to IDEs anyway.
Another thing I have tried: executing ./sublime_text /mycode/
doesn't import/open that directory within ST, it just opens up blank.
I'm pointing these out to ask for solutions, not to nit pick.
I'll look into what's going on with the command line handling under Linux.
* Option for it to come up automatically instead of with a key combo.
* Taking colours from the active colour scheme.
Keep up the good work!
Is anyone aware of a plugin for vim that does this sort of thing?
Anyone know how to accomplish this in Sublime Text ?