Live data from Hacker News

Vim for Humans

vimebook.com

71–80 of 251 posts

Re: Vim for Humans

#71

I wish I could use vim or emacs. I don't know if I'm stupid or something but all of the key bindings, everything you have to remember, it just doesn't make sense to me. I wish there was something like nano + plugins. If I had that I could implement most of what I need (other then auto-completion for a crap load of languages).

Try out Vim Adventures to get some basic commands down. Then find Vim emulation for your editor of choice. Leave it in insert mode as much as you need at first. Slowly you'll start using more Vim commands. In a while you'll wonder how you ever edited without it.

I second the recommendation for Vim Adventures. The free part is fun, and being forced to work with a subset of features as you acquire more gives you a better feel for when they're appropriate.

I assume the non-free bits continue in suit, although sticker shock prevented my finding out. For someone benefiting beyond entertainment, it's likely worth it. As a long time vim user I had trouble justifying it.

Re: Vim for Humans

#73
post #3

I've only skimmed this but there seems to be a focus on customizing and plugins from the get go. I think it's worth getting to know Vim "as is" before doing such things. Indeed there certainly some things that aren't the most useful or obvious but it's good to understand their original intent. Not to crap on the author of this but I'd recommend Drew Neil's Practical Vim over this (and pretty much every other Vim book…

Yip, practical vim is absolutely excellent, I'd highly recommend it.

One other link I haven't seen mentioned here is the user-manual[0] or typing (:h user-manual), and of course typing `vimtutor` at the shell...

[0] http://vimdoc.sourceforge.net/htmldoc/usr_toc.html

Re: Vim for Humans

#74
post #22

A little background. I am familiar with vi and use it only when I ssh into a server. But I never really felt it was more convenient or an improvement over a GUI based text editor or IDE on my development machine. Eg- gedit for simple text editing, Android Studio for android development, Atom for python coding. Everything works out of the box with minimal tweaking required. Genuine questions: -At what point on the lea…

It took me about six months of using vim every day to feel like I was as efficient as I had been with Textmate or BBedit (the best options available to me at the time). I was already very agile using the keyboard shortcuts in BBEdit and other Mac text editors, but now for text editing I really do prefer vim's modal style.

And yes, after having been using vim 95% of the time for a few years, it really is faster to keep hands on the keyboard instead of using the mouse. MacVim lets you point and click to position the cursor, just like any other text editor. I almost never do, though.

Re: Vim for Humans

#75
post #8

Earlier quoted context omitted.

In my experience, most native English speakers are easily confused about who vs whom, and avoid whom by rephrasing: Who is this book for?

Which is okay in conversation, but in writing, your pedantic editor or proofreader would probably inform you that it is considered poor style to end the sentence on a preposition. So he's basically trading one error for another. Who/whom is indeed awkward at first to remember, but the phrase "for whom" tends to sound better on the tongue than some of the others due to its inclusion in the title "For Whom the Bell Tol…

> it is considered poor style to end the sentence on a preposition

By some, sure, but not really legitimately. See https://en.wikipedia.org/wiki/Preposition_stranding#Opinions..., and of course plenty on Language Log including http://languagelog.ldc.upenn.edu/nll/?p=2752

Re: Vim for Humans

#77
post #3

I've only skimmed this but there seems to be a focus on customizing and plugins from the get go. I think it's worth getting to know Vim "as is" before doing such things. Indeed there certainly some things that aren't the most useful or obvious but it's good to understand their original intent. Not to crap on the author of this but I'd recommend Drew Neil's Practical Vim over this (and pretty much every other Vim book…

> I think it's worth getting to know Vim "as is" before [customizing].

For Vim and much else, I've found it worth reacquainting with "as is," after years and decades of customization.

Re: Vim for Humans

#78

> 3.5 Our first plugin: the file explorer it would be cool to be able to open files without having to do File -> Open using the menu bar How about using the :edit command? > 3.5.1 Plugin manager: Pathogen > 3.5.2 The NERD Tree: a file explorer The NERD Tree is a plugin that will allow you to display your directory and file tree directly in Vim > 4.1 Learning how to move Most distributions of vim include the netrw plu…

Your opinion is quite common with old vim hands, but I would have to respectfully disagree.

Someone learning vim is probably coming from Atom or Sublime. The defaults in vim are so egregiously awful, that I don't think you can expect these folks to stick with learning. Their productivity drops to zero - there isn't even syntax highlighting - so they give up and go back to what they were using.

You have to get vim to a point where they can be sort of productive, if you want them to stick with it. I think some customization is necessary for beginners.

An alternate idea would be to use neovim, which fixes many of the defaults.

Re: Vim for Humans

#79
post #3

I've only skimmed this but there seems to be a focus on customizing and plugins from the get go. I think it's worth getting to know Vim "as is" before doing such things. Indeed there certainly some things that aren't the most useful or obvious but it's good to understand their original intent. Not to crap on the author of this but I'd recommend Drew Neil's Practical Vim over this (and pretty much every other Vim book…

I always thought that if I were ever to write a book on vim, I'd start with a thorough introduction to ed, followed by a thorough introduction to ex, finally followed by a thorough tutorial on all the features of plain-old vanilla vi, only then to introduce the vim parts and macros and graphics and things.

I would read that.

Re: Vim for Humans

#80
post #64

I wish I could use vim or emacs. I don't know if I'm stupid or something but all of the key bindings, everything you have to remember, it just doesn't make sense to me. I wish there was something like nano + plugins. If I had that I could implement most of what I need (other then auto-completion for a crap load of languages).

If it helps, I learned vim by following the most basic tutorial at first (vimtutor), learning how to navigate, save my changes, switch between command and insert mode, and not much more. I then forced myself to use it. vim's defaults are, honestly, terrible. So you'll quickly run into lots of little frustrations. For each one, I'd look up potential solutions online, and if I could find a solution which was intelligib…

[deleted]
Post reply on HN