Live data from Hacker News

Setting up Sublime Text 2

drewbarontini.com

31–40 of 53 posts

Re: Setting up Sublime Text 2

#31
post #26

Earlier quoted context omitted.

You can use the built in 'subl' command to launch Sublime Text 2 from the terminal. http://www.sublimetext.com/docs/2/osx_command_line.html Editing remote files is as simple as an SFTP mount.

That is for OSX, which I refuse to use on an principle of ethical software conduct. Apple is hostile to open software and computers as open platforms. They want to take away the open nature of computers which allowed them to exist in the first place and they use BS patent-lawsuits to hinder competitors willing to provide just that. They are evil and I refuse to support them with a penny or any significant effort or a…

Now, I know you mean running it within the terminal a la vim/emacs/nano etc, but you can set up sublime to run from terminal in linux (I set it up successfully on fedora, after ten minutes googling).

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.

Re: Setting up Sublime Text 2

#33
post #14

Here are a few plugins I rely upon that make Sublime much easier to use (that weren't on that list). * 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…

GitGutter is awesome, thanks for sharing :)

Re: Setting up Sublime Text 2

#34

Nice guide. I'm surprised Aqua didn't make it to the themes section - a theme to make Sublime look more native on OS X: http://github.com/cafarm/aqua-theme 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/Ha…

I've updated the article to add the Aqua theme link. I'm surprised I missed that one.

Re: Setting up Sublime Text 2

#35
post #26

Earlier quoted context omitted.

You can use the built in 'subl' command to launch Sublime Text 2 from the terminal. http://www.sublimetext.com/docs/2/osx_command_line.html Editing remote files is as simple as an SFTP mount.

That is for OSX, which I refuse to use on an principle of ethical software conduct. Apple is hostile to open software and computers as open platforms. They want to take away the open nature of computers which allowed them to exist in the first place and they use BS patent-lawsuits to hinder competitors willing to provide just that. They are evil and I refuse to support them with a penny or any significant effort or a…

Then stick with emacs. It sounds like its the perfect tool for your needs. Which is perfectly fine, right tool for the job and all that. That said, I would suggest that the ubiquity if vim (and latterly that of nano) renders your point a little pompous. No need for the same old pious rhetoric.

Re: Setting up Sublime Text 2

#38
post #26

Earlier quoted context omitted.

You can use the built in 'subl' command to launch Sublime Text 2 from the terminal. http://www.sublimetext.com/docs/2/osx_command_line.html Editing remote files is as simple as an SFTP mount.

That is for OSX, which I refuse to use on an principle of ethical software conduct. Apple is hostile to open software and computers as open platforms. They want to take away the open nature of computers which allowed them to exist in the first place and they use BS patent-lawsuits to hinder competitors willing to provide just that. They are evil and I refuse to support them with a penny or any significant effort or a…

That little rant seems like some significant effort and attention. That said, Sublime clearly isn't the editor for you, but it can be invoked from a command line, which I use every day.

Re: Setting up Sublime Text 2

#39
post #26

Earlier quoted context omitted.

You can use the built in 'subl' command to launch Sublime Text 2 from the terminal. http://www.sublimetext.com/docs/2/osx_command_line.html Editing remote files is as simple as an SFTP mount.

That is for OSX, which I refuse to use on an principle of ethical software conduct. Apple is hostile to open software and computers as open platforms. They want to take away the open nature of computers which allowed them to exist in the first place and they use BS patent-lawsuits to hinder competitors willing to provide just that. They are evil and I refuse to support them with a penny or any significant effort or a…

Sublime is more for software development. It sounds more to me like you're needing to edit config files and such. In that case, look no further than vi/emacs. They fit your needs. If you're looking to do development of anything more than a quick Perl/Python/Ruby/Bash script, then you might want to consider a development environment... which Sublime fits perfectly. For editing my apache.conf, I use Vim.

Re: Setting up Sublime Text 2

#40
post #13

Earlier quoted context omitted.

It's half-way there. It could go a lot further. I'm really surprised there isn't a single (featureful) editor that follows the OSX/GNOME aesthetic of "convention over configuration; no preferences/options/modes if possible". Key-bindings are the same everywhere you go. Every command is available on every instance of the editor on everyone's machine, everywhere in the world. You never have to re-learn anything; you ca…

I'd suggest you should download every plugin for ST and see how bloated it becomes, you'd end up with something as slow and ungainly as Eclipse. 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).

I have loaded a TON of plugins at one point. It was nowhere near Eclipse's "oh, you wanted to keep typing? No, sorry I'm going to block while the JVM does a GC sweep, and I try and figure out what auto-completion to show you".

With everything I had loaded in Sublime, it just took a couple of seconds longer to start up. Which plugins were you loading specifically?

Post reply on HN