Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

171–180 of 296 posts

Re: Just Use Sublime Text

#172
post #108
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…

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.

Re: Just Use Sublime Text

#173
post #141
post #21

I think the OP has never seen a very efficient VIM user crack some code. There are some valid points but they are surrounded by unnecessary ranting and lack of knowledge. >> Don’t you ever think you can beat a mouse. Only in very few edge cases will it even matter. Already saw someone clicking the "Search" button on a google page instead of pressing Enter? This is the same sensation I get when I see someone editing c…

Yeah, he had some odd examples. If you can't type "/word " faster than someone can move their hand to the mouse, target the word, and click it, then you can't touchtype. That was a strange example of his. But nevertheless, I would happily take up his challenge: let's find a word that is in the document, but not currently on-screen - hardly an 'edge case', more like 'routine task'. Good luck at winning that one, mouse…

If I am looking for a particular word, then I will use a search. Even notepad and nano has a short-cut key for a simple search for a particular word.

Where I find a mouse useful is when I want "that loop which I suspect is misbehaving. That one which adds a new member to all arrays". There a quick flick of the mouse-wheel, and then fine positioning of the mouse cursor I find gets me to my location faster.

Even when the loop is on the screen, maybe 35 lines up, I have to either do a binary-search style jump with the keyboard, or with the mouse just click on it.

Also, looking for a particular word is easy when there is only one occurrence of it, or you want the next occurrence. A mouse might still be useful when there are many occurrences of a variable and you want (for example) one somewhere near the end.

Perhaps vimmers tend to keep better track of where everything is to make it easier to "hard jump" to, while mousers tend to keep a more ad-hoc overall view, so they know approximately where to scroll to?

Re: Just Use Sublime Text

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

Agreed.

I use plain vi[m] for several reasons but mainly because I used to visit customer sites all the time and have to use their environments. If I need to edit a whole bunch of files I needed to do it with what the customer has installed, and the bare minimum to rely on is plain old vi.

My .vimrc (if it even exists) contains:-

    set background=dark
That's it, and I generate that by hand whenever the syntax highlighting begins to annoy me if it isn't set. I've never used or even looked at a vim plugin.

Of course plain old vi has its limitations but I know what they are and have pretty good ways of doing anything else I need to do.

Re: Just Use Sublime Text

#175
Never really got that anti-mouse sentiment anyway. There are alot of great programmers that use the mouse alot and why the heck not ? I like to use key-bindings wherever appropriate, but there are things which are just plain faster by just clicking. A good combination of both is optimal imo.

Which is why i cringe when i see all these new "vim-mode" plugins for everything from IDEs to browsers to email clients.

Re: Just Use Sublime Text

#176
The important takeaway lesson from all this is that, because this guy says a tool you use is bad, it means you, yourself are bad. And as that is a personal insult to your integrity it is of vital importance that you vehemently argue against it regardless of its intrinsic merits.

Re: Just Use Sublime Text

#177
God, there's a massive sense of humour failure from HN posters today.

I really enjoyed the post, he hits a lot of nails square on the head. It's a well-written, poetic tribute.

TLDR: Vim is great, but it's not always, but we're stuck with other, but I quite like it really. But don't do it, kid.

i.e. they're married.

Re: Just Use Sublime Text

#178

My first boss taught me it's not how much you type but what you type. I was straight out of university and I knew my shit (as all graduates do but don't). He would spend ages looking at a piece of code, scrolling around, running the app, walking about and plonk down a few lines of code. After a year of bashing out code I realised. Most coding happens in the planning, not in the mundane exercise of typing.

I don't think anyone doubts that - but it is hard to get faster at planning (and usually a bad idea), while it is very possible to get faster at typing/editing (the latter benefits a lot more from knowing an editor than the former). So if you want to increase your productivity, you might as well go after what you can reasonably expect to speed up.

Re: Just Use Sublime Text

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

I actually think people who use esoteric tools are more interesting than people who think that one tool is the best. And I've been working professionally for well over a decade now.

What about people who use esoteric words?

Re: Just Use Sublime Text

#180
> Vim: The Editor You Need To Read (At Least) Two Books On To Use Well

Seriously? I was one of the very early adopters of ST2 (befor net.tuts wrote about it), and configured pretty much everything. I switched to Vim maybe two months ago, and I was just as productive with Vim three weeks after switching.

I still learn about Vim features, and it will me take ages to really know it well, but it's seriously not that hard to learn Vim. The first one or two weeks are hard, but once you got the basic concepts, it's really easy.

Switching to Vim was completely worth it. I way prefer VimL over ST's JSON settings, and I'm generally faster at editing text.

However, Sublime Text is a great editor, too. ST + Vintage mode is really fun, too.

Post reply on HN