Live data from Hacker News

Vim Creep

rudism.com

111–120 of 237 posts

Re: Vim Creep

#111
post #35

Nope. Don't get me wrong, I love vim, but I don't need to have it everywhere . It makes no sense in the browser. It's lacking some features Eclipse has (although if Eclipse had a proper Vim mode, I'd use it in a heartbeat).

I'm using viPlugin( http://www.viplugin.com/ ) for months now and I'm pretty happy with it. I don't think I could use Eclipse without it.

Re: Vim Creep

#112

I've said it before, and I'll say it again... Editing text is a solved problem: vim or emacs. Pick one and get back to work.

Although I agree with you, IDE fans feel the same way: "Writing code is a solved problem: eclipse or xcode or visual studio. Pick one based on your environment and get back to work" An argument I hear a lot is: 'vim is fine for editing files on a remote server, but not suitable for everyday work'. I believe it is a common belief outside of the HN crowd.

On IDEs: I have the 'pleasure' of being one of those chaps who spends parts of his day job reworking massive Java projects. There is no way in hell I'm touching that without an editor that deeply understands Java.

Re: Vim Creep

#113
post #34

Earlier quoted context omitted.

You really have to sit down and see a vim user work to start to understand. In vim you don't just move around with arrows, then delete and then replace the text you want. What happens is you can use noun-verb associations to do things. For example on a line like this: var foo = "bar"; I could be at the beginning of the line and type the following keys to change the inside of the quotation marks: ci"baz In sublime I w…

If you're into that sort of thing, you can do Ctrl + F, bar in Sublime too. Most of the comparisons in this discussion between vim and non vim demonstrate high proficiency in vim, but not as much elsewhere. Of course you are more proficient in the tool you know best.

As a heavy user of Sublime, Coda 2 and someone that is still getting to grips with vim, I'd say the real advantage of vim is you can do all of that over ssh with minimal keystrokes over a crappy connection.

Re: Vim Creep

#114

Earlier quoted context omitted.

I can't answer your whole question or we'll be here all day. Here's one important example, which has the advantage of applying in vim as well as emacs: "Common" macros are the least interesting. The most interesting macros are the ones with no name, the one-time ones that you build on the fly. You have a file with ten thousand lines of: foo.rb bar.rb baz.rb … … [9997 more lines like these] and you need to turn the fi…

In Sublime Text 2 using multi cursers: 1. `command + A` to select all 2. `command + shift + L` to split the multi-line selection into multiple single line selections (one curser at the end of each line) 3. `delete delete delete` to get rid of ".rb" on each line 4. `command + shift + ←` to select the identifier 5. `command + C` to copy each identifying word on each line (!!!!) 6. `←` to get to the beginning of the lin…

Multiple carots, the minimap and ST2 picking your indentation strategy automatically by looking at the file (I work with badly formatted legacy code a bit, there is no project-level strategy that applies) are the three reasons I bought it.

Re: Vim Creep

#115
I'm all for vim or whatever other editor you prefer.

But to somehow claim that one editor or another is going to make you a better programmer and make your 10 pages of crap code become 4 elegant lines is pretty nonsensical.

No matter what editor you use; if you're not good at problem solving, you're not going to make a good programmer.

Re: Vim Creep

#117

Not so subtly the author is telling the reader if you program with Vim you'll be just like "all the really great programmers" who can write 4 line solutions to problems that take ordinary programmers 10 pages. You'll produce "impossible patterns of code and text manipulation", and be able to "fill dozens of registers" (admittedly I don't know what that means). This is all bit silly and reminds me of "hacking" in the…

He's not saying that using Vim will make you a better hacker. You're the one who's confusing remarks on correlation for causation.

Its probably likely that there is such a correlation; those who are willing to put in the time learning vim/emacs are probably those who spend the most time coding, and thus have the most practice.

Re: Vim Creep

#118

This feels like an article about a religion or cult, not a software program. I just don't get it. Ever since newer editors got block editing or multiple insertion cursors, and RegEx find & replace across multiple files, and searching filenames to open... I feel like I've already got everything I need! What am I missing out on? I don't feel like my text editor holds back my productivity. Using something like Sublime,…

I don't see what is bad about having religious or cult like feelings around a tool. This sort of thing already exists for various programming languages. There wouldn't be any of the advancements we consider standard today in most high level programming languages if it weren't for LISP. If people weren't fanatics about homoiconic and functional features in their languages, we would be in a much worse place. Fortunately languages gaining popularity nowadays resemble LISP much more than they do FORTRAN. This probably wouldn't be the case if there weren't very smart people evangelizing the benefits of LISP over the past half a century.

Re: Vim Creep

#119

For me pragmatism wins the day. Vim has been installed on every machine I've ever ssh'ed into. Not true for emacs or even nano or pico.

Vim, really?

Some vi variant, save but for a few instances. But not necessarily vim.

Being stuck to use old-school vi a few times in the not-to-distant past made me realize how massive an improvement over it vim is.

Yes, I can GSD with vi, but I can really GSD with vim.

Re: Vim Creep

#120

This feels like an article about a religion or cult, not a software program. I just don't get it. Ever since newer editors got block editing or multiple insertion cursors, and RegEx find & replace across multiple files, and searching filenames to open... I feel like I've already got everything I need! What am I missing out on? I don't feel like my text editor holds back my productivity. Using something like Sublime,…

People will get into the whole verb-noun editing language, which is great, but the biggest and first real world improvement is much simpler:

You don't use your mouse to move the cursor around a document.

After a while you just look at the document and your fingers move and the cursor moves, you can get anywhere in the file in just a few jumps. It's not the same as using a mouse or a touchpad where you need visual feedback to place the cursor in a specific place and the movement is continuous. It feels like it takes less mental processing to do that and it is less distracting while you are concentrating on actual work.

It's hard to explain, and I'm one of those people who using vim, vimperator and vim keybindings in his shell. The only other times I've reached the same levels of muscle memory taking over complex behaviour (besides sports) is when playing video games or driving a car. You concentrate on what you want done and some lower level part of your brain and your hands just takes care of it.

A pointer based system just can't compete in terms of immersion.

I have a feeling I just typed a lot and didn't do any better of a job explaining it.

Post reply on HN