Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

151–160 of 296 posts

Re: Just Use Sublime Text

#151
It's funny, but I find myself pretty much on the same situation as this guy. I've spent a couple years with Vim but I still don't "feel it".

Oh, and I touch type, and ijkl, and all that. It just took me a too much time and effort to get used to it.

A colleage asked me some time ago and I found myself telling him "just use sublime". And he's doing just fine. After two weeks, he's able to "find and replace in files" in sublime more easily than me in Vim in two years.

I'm seriously considering discarding my two years with Vim as a failed experiment and switching.

Re: Just Use Sublime Text

#152
post #53

Earlier quoted context omitted.

at the end, emacs always wins :)

I rock back and forth, depending on the languages I'm using. Emacs does more, but is in my experience more kludgy, even after having in aggregate spent many days customizing it (maybe it would rub better if I wasn't hardwired to the vi/vim modal editing/motions method). Vim feels cleaner and less annoying, but sometimes the easy integration with external tools tips the balance in emacs' favor. E.g. I use vim for Rail…

> in my experience more kludgy

Not sure what that means

> even after having in aggregate spent many days customizing it

Do your work and if you find you can add something to your ~/.emacs then do

> Vim feels cleaner and less annoying,

I cannot empathise with that. Model editing is awful. I feel like i should have a foot pedal to actually toggle it

/oldest debate in the world

Re: Just Use Sublime Text

#153
post #143

Almost anybody who associates great programming with things like super keyboarding skills and muscle memory is unfortunately degrading the status of programming to mere typing. What is it that is so distracting and pulling you out of your zen when you use a mouse? Seriously you type so fast and code at the speed of thought that a little glitch here is like making a mistake with a Formula 1 car in the Monaco Grand Pri…

> When he was done, the entire PCB worked like magic. The manufactured one's too. And there wasn't a single problem/bug. It was so spotlessly done. It looked like art work.

Being bug free is nice, but not really the general case. I agree however that PCBs do need fewer iterations than software to become practically bug free.

I am unsure whether, in the general case, this is due to the quality of the people doing PCB design or due to the quality of the PCB design process (and associated tooling).

Another point is that in PCB design, there is (from my limited experience) a much stronger correlation between quality of the design and the quality of the implementation than in software projects. I attribute this to the lack of hand-off between the design and implementation stages, i.e. in PCB design the designer of the circuit is usually (not always) also involved in the routing process.

Re: Just Use Sublime Text

#154
post #9

My friends, I had not intended to discuss this controversial subject at this particular time. However, I want you to know that I do not shun controversy. On the contrary, I will take a stand on any issue at any time, regardless of how fraught with controversy it might be. You have asked me how I feel about vim. All right, here is how I feel about vim: If when you say vim you mean the antiquated relic, the impossibly-…

Less liberal with the comma character, please.

Re: Just Use Sublime Text

#155
post #143

Almost anybody who associates great programming with things like super keyboarding skills and muscle memory is unfortunately degrading the status of programming to mere typing. What is it that is so distracting and pulling you out of your zen when you use a mouse? Seriously you type so fast and code at the speed of thought that a little glitch here is like making a mistake with a Formula 1 car in the Monaco Grand Pri…

Well you get to a point where reaching for the mouse does get annoying. And it does happen, when reaching for the mouse distracts you from your "zen" state.

Re: Just Use Sublime Text

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

> 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

Visual Studio also has this with the MultiEditing plugin: http://visualstudiogallery.msdn.microsoft.com/2beb9705-b568-...

Re: Just Use Sublime Text

#157
post #143

Almost anybody who associates great programming with things like super keyboarding skills and muscle memory is unfortunately degrading the status of programming to mere typing. What is it that is so distracting and pulling you out of your zen when you use a mouse? Seriously you type so fast and code at the speed of thought that a little glitch here is like making a mistake with a Formula 1 car in the Monaco Grand Pri…

> Seriously you type so fast and code at the speed of thought that a little glitch here is like making a mistake with a Formula 1 car in the Monaco Grand Prix?

Please, don't take it to the other extreme.

The way I use vim, I still use arrow keys instead of hjkl. I usually don't do 8k or 3j. Yet daW, cs"', cit, /foowhateveroperationnn.nnn.n., /barqawhateverbutmorecomplexqn@ann@a are part of my daily routine†.

Clicking around or moving with arrow keys to operate on well defined text objects feels like hunt-and-peck typing, while the argument is that the only true way to vim is knowing it, similar to touch typing. Yet between hunt-and-peck and touch typing, there's a continuous world.

I type at a reasonable speed, and I use vim at a reasonable speed. I'm not aiming for purity, I'm aiming for usefulness.

In general, Sublime Text does a vast and extensible yet at any given point in time fixed number of things well, while vim allows for composability, and hence even with a default setup and few things known, a great deal can be done already. This is what empowers me, not the home row touch typing stuff, not the navigation speed, but the quality of the dialog I can have with the editor.

† I know about multi-cursors in Sublime Text, and Ctrl+D, but Ctrl+D doesn't allow you to skip, and the whatever_operation you want may or may not operate on the search itself (which could actually be an ack search), and can operate on objects ST doesn't even know about. This allows me to do free-form refactoring without relying on fixed-form refactoring routines and plugins (i.e not just a glorified search and replace).

Re: Just Use Sublime Text

#158
post #153
post #143

Almost anybody who associates great programming with things like super keyboarding skills and muscle memory is unfortunately degrading the status of programming to mere typing. What is it that is so distracting and pulling you out of your zen when you use a mouse? Seriously you type so fast and code at the speed of thought that a little glitch here is like making a mistake with a Formula 1 car in the Monaco Grand Pri…

> When he was done, the entire PCB worked like magic. The manufactured one's too. And there wasn't a single problem/bug. It was so spotlessly done. It looked like art work. Being bug free is nice, but not really the general case. I agree however that PCBs do need fewer iterations than software to become practically bug free. I am unsure whether, in the general case, this is due to the quality of the people doing PCB…

>>I agree however that PCBs do need fewer iterations than software to become practically bug free.

I would say that is the case because making mistakes there is expensive.

And yes the process they follow is generally far better than we do.

Re: Just Use Sublime Text

#159
post #28

Can anyone explain that one liner at the end? :set tw=10000 | norm gggQG

I think he has a typo at the end which should be gggqG where gg means motion to top of file, gq means reformat over a motion and G means motion to end of file.

Re: Just Use Sublime Text

#160

     :set filetype=html
     gg=G
Was I not supposed to get exactly what I wanted? http://i.imgur.com/P6YLdRA.png

I do use the mentioned javascript-vim plugin. However, majority of the plugins I install are because I'm simply one short "Bundle 'user/repo'" away from trying out something I may choose to use. If I was to purposely cut down my number plugins, I probably would only keep minibufexpl and language specfics. The most important vim plugins are those that are simply improvements of basic vim functionality that are more aware of language specifics (i.e. javascript-vim, erlvim). Plugins like NERDTree look nice, but do I actually use them in practice? Not really. I barely use even use ctrl+p: most of the time using :e and tabbing my way to victory is quick enough to be a moot point.

There are costs and benefits to using any editor. I've spent a large amount of my life ssh'd into remote boxes from a Windows machine. It was pretty natural for me to pick up the most common and still powerful command line editor available. I was born into a generation of kids more comfortable using 'WASD' than walking around in real life; it wasn't difficult to get used to hjkl quickly. I don't really consider there to be a learning curve more than 'it isn't obvious how to do things unless you read documentation first' which is actually to be expected. Most of us won't work with a programming language until we've read a book on it and sufficiently experimented on our own. Programming languages are a tool. A text editor is a tool. A similar learning curve seems fair to me.

Post reply on HN