Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

191–200 of 296 posts

Re: Just Use Sublime Text

#191
post #117

Earlier quoted context omitted.

> what kind of medication the OP stopped taking The OP has a really "sane" take on things imho (yes, it's incredibly opinionated , but it's blog post featured on HN, not a SO question someone like you can close in minute :) - and I'm glad he bothered to write it, as I'd probably just send the link to it to any newbies asking me about "the magical vim" instead of bothering to tell them what I think) and he's right on…

Notepad++ is good enough until you need to do a regex search that includes new lines in it.

And it's windows-only.

Re: Just Use Sublime Text

#192
post #188

Earlier quoted context omitted.

Vanilla Vim is pretty sub-optimal for writing prose. Vim is my text-editor of choice, but it took me a lot of time and effort to customise it to make it more suitable for writing prose. E.g. the fact that it scrolls by logical lines rather than screen lines (note I that I said scrolls . I'm aware that you can navigate by screen lines by using gj and gk). The way this makes the text scroll by unpredictable amounts whe…

When you say prose, do you mean emails or some document format or what?

text that doesn't have line breaks every 20-100 characters.

Re: Just Use Sublime Text

#193
post #108

Earlier quoted context omitted.

I'm the same really. I had to learn vim when I started at a games company that had a Linux build chain. I printed out the keyboard quick reference and was reasonably productive after a few weeks. The only plugin we used was ctags, to be able to find shit in our massive C/C++ codebase, but that worked ok (despite having to manually rebuild tags yourself). I agree with the author - I'd also recommend Sublime Text 2 - b…

> reasonably productive after a few weeks Dear God. We're talking about a text editor.

Dear God, we're talking about what programmers spend the majority of their working hours using, for the foreseeable future. I suppose you never learn new programming languages, because god forbid, you're gonna be crippled for some time getting around new frameworks there and who really wants to make investments?

Re: Just Use Sublime Text

#194
post #181

The area where sublime really wins for me is discoverability. Say I'm writing some markdown and I decide I want to preview it in the browser. A short key combo opens the command palette, I type install package, hit return, type markdown, see that there's a plugin called markdown preview, down arrow and return and it's installed in a couple of seconds. I open the command palette again, type markdown preview, hit retur…

As far as discoverability goes, I think it's hard to beat Emacs, once you figure out what's going on.

The big step is to start using it like a terminal, and Alt-x (M-x) is the way to begin this...

Everything is Tab completable, and fuzzy matched, granted the lexicon is a little different, but it's not very difficult if you're prepared to read a bit.

The fact that you can type:

    M-x describe-function 
And the get docs for any function in Emacs is really amazing, and something that completely reveals its true nature, Emacs is a huge library of lisp functions...

And after 30 years or so huge really does mean huge.

So frankly, forget all about Sublime and learn Emacs, it doesn't demand a Vim modal operating mode (but it'll provide one if you want it) it doesn't berate you if you want to use the mouse.

It has undergone a huge amount of recent development too, and new packages are being released every day, thanks to elpa / package.el

Re: Just Use Sublime Text

#195

Earlier quoted context omitted.

> eg. arbitrary multiple cursors (no other IDE or editor besides Notedpad++ has them yet Emacs support for multiple cursors is also available: https://github.com/magnars/multiple-cursors.el

Jedit has had multiple cursors built in for years. like '08 at least.

And multiple selections. I didn't find any use case for them.

Re: Just Use Sublime Text

#196
post #74

This seems overdone to me. Vim out of the box is a perfectly adequate text editor, and all you need to know to use it is /?xiap ESC 99dd :wq! and the arrow keys. With gq (formerly Q, RIP) you can then edit text. hlJG wbvn.fF;#% help too, especially for code, and c is nice, especially ci, which is a Vim innovation. ^F and ^B move around. Then, if you're programming, you probably want to build a tags file and use ^] an…

Vim out of the box is a perfectly adequate text editor, and all you need to know to use it is /?xiap ESC 99dd :wq! and the arrow keys. With gq (formerly Q, RIP) you can then edit text. hlJGwbvn.fF;#% help too, especially for code, and c is nice, especially ci, which is a Vim innovation. ^F and ^B move around.

As somebody who never used Vim, I seriously can't tell if you are being sarcastic here.

Re: Just Use Sublime Text

#197
post #188

Earlier quoted context omitted.

Vanilla Vim is pretty sub-optimal for writing prose. Vim is my text-editor of choice, but it took me a lot of time and effort to customise it to make it more suitable for writing prose. E.g. the fact that it scrolls by logical lines rather than screen lines (note I that I said scrolls . I'm aware that you can navigate by screen lines by using gj and gk). The way this makes the text scroll by unpredictable amounts whe…

When you say prose, do you mean emails or some document format or what?

How about actual prose? With the right plugins Vim is the best article/book authoring tool I've found.

Re: Just Use Sublime Text

#198
post #4

The author has some points, but sadly they're mired in a lot of inaccurate ranting.

I agree with you. I think he's spot on about how the editor should know more about common languages like HTML and Javascript out of the box. It's frustrating to me that formatting is still bad despite my attempts to make it better.

Re: Just Use Sublime Text

#200
post #25

Am I the only person in the world who: a) Never thought vim was that hard to learn (and I first learned it when I was a teenager and nobody helped me. I switched when someone on a MUD made fun of me for using pico.) and b) Thinks vanilla vim works just fine. Seriously my vimrc is like 10 lines long and I don't even have it on every server I work on. I don't bother with any plugins. I don't need vim integrated with gi…

Same here. Never remapped the leader key, tried and ditched pathogen, never used gvim, never used hill, but I have checked 2G in vim, and I know how to do some advanced search and replace, I have python errors in red as I type and I got once in the highlight engine to fix an annoying color.
Post reply on HN