Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

231–240 of 296 posts

Re: Just Use Sublime Text

#231
post #219
post #215

Earlier quoted context omitted.

I said "arbitrary" because a number of editors like emacs or jetbrains IDEs have some sort of multiple cursors or square selection, but they just don work in simple way like ctrl+click to put them anywhere or allow breaking up the selection into lines ..."arbitrary" is not the right word, I know, I mean more like "multiple cursors done right" :)

Honestly, I can't remember finding a recent text editor that couldn't do it, TextAdept being the latest one. Sublime Text definitely has major selling points (in the sense of having advantages compared to other editors) but this is hardly one of them.

Can you tell of any IDE editor that has this? (Eclipse: nope, Netbeans: nope, all the Jetbrains IDEs family: nope, Visual studio: nope / actually there's one handicaped plugin to sort of do it in VS)

Re: Just Use Sublime Text

#232
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

I said "arbitrary" exactly to differentiate from the emacs multiple cursors: I need to either add a cursor to each line of a selected region or add them based on search keywords, I can't just mindlessly ctr+click in 3 completely different non-adiacent places and have it work (or can I?).

Re: Just Use Sublime Text

#233

These articles are just idiotic. Mouse as fast as the keyboard except a 'few edge cases'? Get out of here. Vim destroys using a mouse every day of the week, and unless the highest skillset you've learned is fingerpainting, it's not that hard. Sit down for 2 days, stop being a bitch, learn the keybindings, and you're good.

Using the keyboard seems faster than using a mouse to move the cursor because you're thinking so hard about what to do with the keyboard that you forget the time it takes to get what you want accomplished, but using the keyboard is objectively, measurably slower than using the mouse for the same task; in other words, using the mouse is actually proven to be faster for cursor movement overall. You're just fooled by your subjective impression.

http://www.asktog.com/TOI/toi06KeyboardVMouse1.html

Re: Just Use Sublime Text

#234

1. I like learning new tools and I got pretty good at vim's 10-15 fundamental commands in probably a couple of weeks. I was certainly OK, albeit a bit slow, by day 2 or so. 2. By the end of month 1-2, vim had become completely second nature. I did stuff without thinking. Actually, thinking about what I was doing started to confuse me. 3. Sure we all spend lots of time thinking, but I also often find myself cranking o…

at the end, emacs always wins :)

Yep, after bouncing between vim w/plugins and Sublime Text for the past year or so, I spent a day messing with emacs and have somehow found a sweet spot for my workflow. (haskell-mode/ghc-mod and AuCTeX - schoolwork) I've tinkered with emacs on and off over the last decade but somehow for what I'm doing now it just feels better than my vim setup.

Re: Just Use Sublime Text

#235
I have to say that this author is a VIM HATER.

VIM or any other kind of editors are just tools.

Tool are designed for specific jobs; And people choose tool to complete their job with personal preference; This is just like some soldiers are good at using sword and some prefers to ax;

There is no good or bad tool; There is only proper tool for specific job; And there is only tool that user has preference;

I am OK that the author do not like VIM; It is author's choice and taste;

But the author give the user of VIM especially who want to learn VIM a WRONG impression that VIM is NOT GOOD and is HARD to learn and is HARD to customize which are totally the author's own opinion; Not the true fact about VIM;

Writing this comments, just want to remind those who do not know what VIM really is, Please try it yourself; Do not just listen to this author's personal blah blah.

Try VIM yourself.

Re: Just Use Sublime Text

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

In fact, there isn't anything so distracting and pulling you out of your zen when you use a mouse: that's precisely why the keyboard feels faster (you get lost in thought about what commands to use that you forget the time it takes) while the mouse is, in fact, faster. Ask Bruce Tognazzini.

Re: Just Use Sublime Text

#238
> Ok let’s get Command-T. Oh wait that’s incredibly slow and clunky and looks jenky

Uh, what!? Command-T does much of its work in C to make it as fast as possible. I find it to be mind-numbingly fast. It is extremely well done. Did you open Vim from root or something? If it's ugly, it's because vim is ugly.

Your complaints about plugin management, Vimscript, and poor error handling are fair. When someone creates a modernized modal editor, I'll consider switching. Until then I'll suffer. It's incredibly satisfying when I do something really powerful in vim. It makes it my programming job more fun. A lot of programming is mundane editing. Editing with vim can make most painful editing tasks a fun challenge rather than a boring repetition of mouse clicks. This more than anything is why I won't switch to Sublime, even if I love its pretty face.

Vim (and unix tools) make you into, and feel like, a badass computer wizard. The more time you put into studying the spells, the more powerful spells you can cast. Newbs, do you want to be a Gandalf of computers (the answer is yes btw)? Then you need vim.

Re: Just Use Sublime Text

#239
post #67

Earlier quoted context omitted.

You don't even need to read :help right away. All you need to do is: 1. Start the graphical version, i.e. gvim, MacVim, or any version with drop-down menus. 2. Press 'i' to enter "Insert mode". Now just use it like any other text editor. 3. Use the menus. Note the equivalent commands (which are listed in the menus). When you want to use those commands, press ESC to switch to command mode, then enter the commands, the…

If that's how someone is using Vim, they truly, seriously, should not be using Vim. Sublime really would be better for such a user.

I think his point is that you start out using it that way. Training wheels, sort of, which eventually will come off.

Re: Just Use Sublime Text

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

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…

How have you customized Vim to make it suitable for writing text that doesn't have a line break every 50 characters or so?
Post reply on HN