Live data from Hacker News

Setting up Sublime Text 2

drewbarontini.com

41–50 of 53 posts

Re: Setting up Sublime Text 2

#41

It was only yesterday that I thought about using animated GIFs for demoing code typing. That's what I liked most about this post!

I disliked how I had to watch the gifs a couple of times though in order to read exactly what he typed for the first snippet to see how it related to what it filled. Text underneath would help, but it does indeed look nice.

Good point. I just updated the post to fix that.

Re: Setting up Sublime Text 2

#42

Earlier quoted context omitted.

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?

> 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".

I've experienced this quite often, mainly on large code bases.

Re: Setting up Sublime Text 2

#43
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…

In every sublime text thread there's someone praising Vim.

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.

Re: Setting up Sublime Text 2

#44
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…

[deleted]

Re: Setting up Sublime Text 2

#45
post #13

One of the things I like most about Sublime is that it just works right out of the box. Sure almost everyone uses a plugin or two, but to me it's the editor that doesn't need blog posts about how to configure it, it doesn't require you to keep a git repository of your thousand-line configuration, it doesn't require an understanding of esoteric key commands to get started. To me, Sublime is an editor for people who do…

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…

To me, after learning a couple shortcuts, it's already there. Not a big deal to learn.

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.

Re: Setting up Sublime Text 2

#46
post #2

There are a lot more keyboard shortcuts for this editor, makes you much faster if you don't have to touch a mouse. Here's a "cheat sheet": http://i.imgur.com/yGrUAL8.png

Can you do one of these for Windows keyboards?

Re: Setting up Sublime Text 2

#47
Anyone have a plugin that prevents ST2 from showing the contents of binary files? For example, clicking on a JPG in the sidebar shows the contents, requiring you to somehow close the window before you can continue.

Re: Setting up Sublime Text 2

#48

This video taught me a ton of stuff I had no idea about: http://www.youtube.com/watch?v=TZ-bgcJ6fQo Quite long, but definitely worth it. Not affiliated with whoever did it.

Great video, thanks for sharing. The automator osX hack to get right-click open project in Sublime is worth it alone!

Re: Setting up Sublime Text 2

#49
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…

There is always nano.

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.

Re: Setting up Sublime Text 2

#50

Anyone have a plugin that prevents ST2 from showing the contents of binary files? For example, clicking on a JPG in the sidebar shows the contents, requiring you to somehow close the window before you can continue.

Not sure on a plugin, but perhaps adding image formats to your file_exclude_patterns could be a workaround?
Post reply on HN