Live data from Hacker News

Sublime Text 3.0

sublimetext.com

391–400 of 694 posts

Re: Sublime Text 3.0

#391

One of the reasons I still use both Emacs and Vim (yes I strangely use both) is because I can go execute them on a terminal (terminal, tmux, screen, etc). There are just so many times I need to SSH into a machine. I know Emacs has some remote file editing capabilities but for some reason I never liked it (I can't recall why now... I think it was the need to sudo). So I'm wondering what sublime text fans do for remote…

> I know Emacs has some remote file editing capabilities but for some reason I never liked it (I can't recall why now... I think it was the need to sudo).

Tramp (https://www.gnu.org/software/tramp/tramp-emacs.html) enables seamless remote editing over ssh/scp. By default it asks for your password all the time but you can cache that. Add to your ~/.emacs

  (require 'tramp)
  (setq tramp-default-method "scp")
  (setq password-cache-expiry 1800)

Re: Sublime Text 3.0

#392

Earlier quoted context omitted.

> I'm not flaming, I genuinely want to know. I've tried Gedit, Atom, VS Code, Notepad++ and I fail to see what Sublime offers over those to justify the price. It's better than Gedit in every way, it's way faster and more lightweight than Atom and VS Code, and it has a far better plugin ecosystem and functionality than Notepad++. I'd pay triple the price.

> it's way faster and more lightweight Now you've got me wondering why editor speed is actually a thing.

Slow software is frustrating. A text editor is a tool, it should help and not hinder.

Re: Sublime Text 3.0

#393
post #301

Earlier quoted context omitted.

It's highly likely that OP simply stumbled upon it, or someone recommended it, and now he learned it and is used to it and knows how productive it can be. Thing is, same is true for any other good IDE, of which there are plenty. Personally, it always blows my mind that people don't use VIM :) if they actually spent 5-20hours learning VIM correctly they would not touch these inferior pretty looking UIs

Whereas I view vim as simply a necessary evil and I mean "necessary" in the sense that I want to edit something over ssh. Bret Viktor's oft-quoted "Inventing on Principle" talk touches on this subject where a lot of research has shown that bimodal editors are worse. While I can't argue for how true that statement is, it's certainly been my experience. I always find it jarring to think I'm in command mode but I'm actu…

It's possible to go overkill with learning tons of unnecessary shortcuts, but in my opinion all you really need for tmux is attach, detach, split horizontal, split vertical, fullscreen.

5 shortcuts is a paltry investment for a pretty sweet gain.

And unlike an IDE, this can be readily available on any machine you SSH into. Which is also what makes VIM so handy.

Re: Sublime Text 3.0

#394

Looking at the screen shot, I still find it odd that, they use a white background for the file panel on the left. This has the effect of drawing the eye to it, making it the focal point of the window. That's the least important part of my editor honestly. Would expect it be a lot more low-key.

i had a similar complaint when the github navigation bar turned grey, but I just don't even notice it anymore. hard for me to discern UX principles here from user familiarity.

Re: Sublime Text 3.0

#395
post #166

Earlier quoted context omitted.

No, it wasn't. I believe TextMate had a feature where you could edit multiple lines at once, but it was part of a column selection mode, it certainly wasn't free form multiple selections. Multiple Selections were one of the earliest core features built for Sublime Text, and weren't inspired from other software. I don't think TextMate existed when I implemented this.

PC-Write had it, long, long ago and .. like ST .. this feature was the only reason I used that app.

hey! I used PC-write back in the nineties. I have nothing to add, just happy to find another user of that softeare.

Re: Sublime Text 3.0

#397

Earlier quoted context omitted.

5/month to store 1kb of passwords

I’m having a big problem paying monthly for a password manager . May have to just roll my own in swift

Take a look at Enpass (https://www.enpass.io) it has a free desktop app and one off fee for mobile apps. I've been using it for tree or four months and it's been great.

Re: Sublime Text 3.0

#398

I love Sublime. Tried Atom, but too slow on my 2012 Macbook Air. One question: How is sublime sustainable economically? I mean alternatives like Atom is free & open source, supported by a big company. With a infinite free trial model, how can sublime survive?

Many people buy it. It's expensive, too...

Re: Sublime Text 3.0

#399

Earlier quoted context omitted.

They're always inferior editing experiences, these vim bolt-on plugins. Missing key features like 'jk' mash escaping and other remapping support.

{ "keys": ["j", "k"], "args": {"key": " "}, "context": [{ "key": "setting.actual_intercept", "operand": true }], "command": "actual_keypress" }, That, in your Sublime keymap, should map jk to escape if you're using the ActualVim plugin. On the backend, it's using NeoVim... So it's literally just vim. You can even use vim plugins. There really shouldn't be any missing features.

Oh! Didn't know this. Thanks.

Re: Sublime Text 3.0

#400

Earlier quoted context omitted.

> I'm not flaming, I genuinely want to know. I've tried Gedit, Atom, VS Code, Notepad++ and I fail to see what Sublime offers over those to justify the price. It's better than Gedit in every way, it's way faster and more lightweight than Atom and VS Code, and it has a far better plugin ecosystem and functionality than Notepad++. I'd pay triple the price.

> it's way faster and more lightweight Now you've got me wondering why editor speed is actually a thing.

There are a lot of factors that play into the speed (perceived and real) of an editor. Sublime is written in C, which is generally recognized as a performant language when used correctly. In contrast, Atom and VS Code are Electron[1] apps, which mean they have to deal with browser optimization. They both use a lot of tricks[2] to operate as quickly as they do. And in all editors, one bad extension can kill performance, from my recent experience Resharper in Visual Studio increases startup time by 3x.

An editor is not as simple as displaying lines of text a la Notepad, different editors optimize for different use cases.

1. https://electron.atom.io/

2. http://blog.atom.io/2017/06/22/a-new-approach-to-text-render...

Post reply on HN