Setting up Sublime Text 2
drewbarontini.com
drewbarontini.com
To me, Sublime is an editor for people who don't want to spend man-weeks fucking with their editor and just want to get to work.
I would personally imagine something a bit like Sublime, but where all the "plugins" were actually just code contributed to the central codebase, and delivered by updates. (Specifically, I'm imagining it would work like Cloudflare's https://github.com/cdnjs/cdnjs for plugins.)
Given that the editor would then have "everything" in-the-box, it'd then probably have to have emacs-like modes, as well, to allow all the plugins' various key-bindings to live together.
To me, one of the largest benefits of ST is having a very powerful editor which is fast, simple, and very usable, and wouldn't want to see the core become much heavier than it already is (although I'm loving the code navigation functionality coming in ST3).
But on the other case--what sort of Sublime plugins do you use that constantly run in the background doing something? I don't use any myself that do anything like that; what are some good examples?
With everything I had loaded in Sublime, it just took a couple of seconds longer to start up. Which plugins were you loading specifically?
I've experienced this quite often, mainly on large code bases.
OS X is neither on everyone's machine nor everywhere in the world. By a large stretch!
In fact I have set up my Opera browser to use ctrl-pageup and ctrl-pagedown to change between tabs.
It is that ingrained.
If you mean to replace package control, no, please no. I care only about a very specific subset of packages and I don't want the rest.
My settings file only has a light theme and trim_trailing_spaces_on_save, and I'm very content with that.
This isn't to dismiss its flexible and configurable nature, which is awesome. I just don't need to do more for now.
If I'm going to invest time, effort and know-how into something as fundamental as a text-editor, I want to know that I can run it everywhere I need it.
I'm going to guesstimate that I spend at least 20% of my text-editing via terminals, via SSH, via remote sessions somehow. And there I can't use Sublime Text at all.
In those remote sessions I'm probably editing the same things I do locally, so why should I need to change my entire environment to suit that 20% of the same workload? It just doesn't make sense.
Other objections to Sublime text would be that it's not open source. With more and more (new) arm-based platforms popping up left and right, that becomes increasingly important. I want to know that I can take my tools with me to the places I go. Not being open-source severely limits those possibilities.
http://www.sublimetext.com/docs/2/osx_command_line.html
Editing remote files is as simple as an SFTP mount.
They are evil and I refuse to support them with a penny or any significant effort or attention.
Apart from that, talking about SFTP mounts is completely missing the point.
Sometime I'm in a terminal, on a router, NAS, cloud-server or whatever, and need to edit some files in the current folder.
What I do then is "$ emacs file", not change context, go to another local terminal and fuse-mount some completely remote FS with whatever keys and credentials I need to provide, in /mnt/remote/, and then fire up a local editor for /mnt/remote/the/actual/directory/i/was/working/in/file.
That's extremely inefficient.
When I say I need something to work in a terminal to be a proper solution, I mean any terminal.
So here I am running linux once more.
I have a lot of time invested in emacs but I have switched to sublime since early versions of v2-beta. My main reason was at that time the ruby and RoR modes for emacs wasn't really up to speed.
I like sublime text and I don't regret jumping on that train. Easy to get started, lots of features and plugins, highly configurable. I use sublime as my main "desktop" editor now.
When editing over ssh emacs is my preferred editor, after 15 years of using emacs as my primary editor I think I have enough emacs keystrokes deeply imprinted in my brain to last me a lifetime ... :)
The downside of that is that it runs as an x windows in comparison to directly in terminal, which is a bit of an bummer when trying to work remotely. As much as I'd love for it to run in term, it'd pretty much just be a vim-alike, and why reinvent the wheel.
If you want a terminal text-only editor, and already have one like emacs, then you don't need or want sublime text.
Sublime Text does not try to work in the terminal and I love that it doesn't.
Very different use cases. I suspect you are simply a very subtle forum troll.
I use ST2 when working on large, involved python projects or latex files. If I have a small file, vim or nano is sufficient to pound out the changes.
If you're a huge OSS proponent though, then Sublime is quite clearly not for you anyway.
Here's a "cheat sheet": http://i.imgur.com/yGrUAL8.png
CommandOnSave is a nice plugin that I've been using recently, very useful for automatically running Makefiles on save, etc.
Also, if you want to browse Hacker News via Sublime Text, here's a small plug for my plugin: "Hacker News" (https://github.com/kaolinite/HackerNews-SublimeTextPlugin)
* GitGutter: Adds symbols beside the line # on modified lines. A feature widespread in other editors with Git integration. I haven't found a plugin to mark modified files in the sidebar (which is also another common feature). - https://github.com/jisaacks/GitGutter
* Missing Palette Commands: Adds a few commands like setting the indentation for the specific file only. You can see a full list in the link. - https://github.com/fjl/Sublime-Missing-Palette-Commands/blob...
* Open Folder: Open up the selected folder in explorer/etc.
* Terminal: Open the selected folder in the terminal. - http://wbond.net/sublime_packages/terminal
Quite long, but definitely worth it. Not affiliated with whoever did it.
While everyone is talking about themes, if there are any Intellij 12 users out there that fancy the Darcula theme, I've created a theme for both Intellij 12 and Sublime Text 2 which is a blend of Solarized and Darcula: https://github.com/rickhanlonii/Solarized-Darcula
Two options:
1. Download package control [1] (first config listed in OP) and then search for themes.
2. Visit the individual theme repos (mostly on GH) and follow instructions.