Live data from Hacker News

Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

amazon.com

61–70 of 143 posts

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#62
post #8

Awesome. Thanks for sharing. I've been using vim for 6 months, but I still feel like a n00b. Looking forward to checking this out. I started my vim experience using Janus But I didn't understand how anything worked or why any of the plugins were there. That led me to starting from scratch (I forked my cofounder's dotfiles) and now I feel like I know my vim config waaaay better. If you've been using janus, I'd highly…

I wound up doing the same thing (not with Janus, but with a massive forked .vimrc). One day I was SSH'd into a remote server and vim'd a directory by accident and I discovered Netrw. It wasn't the same as NERDTree, but it was good enough for me to get rid of that plugin. Eventually I just learned to enjoy the defaults with minor tweaks. Today my vimrc[1] is [1]: https://github.com/mgirouard/Dots/blob/master/.vimrc

Nice, I have a bit more (eg Pyflakes highlighting, Pysmell completion) but I share the same trend: barebone vim (no gui, no mouse, no pathogen infection).

I was looking for the rightbelow this, found it in your vimrc. Found it weird you don't have wildmenu...

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#63
post #51

I just bought it using the button "Buy it with 1-Click" and I found it a bit scary. I mean, no confirmation and all. It's like just click and, BOOM, a confirmation email saying that you've already bought it. It's quite jarring as compared to buying stuff from other websites.

Yes it's almost surprising the first few times you do it. I find myself thinking "wait, which card did that just go on?"

You can get a refund within 7 days though if you do click by accident.

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#64

Every once in awhile the state of DRM really hammers itself home, to me. Case in point, when someone is literally giving a potentially interesting book away and I can't be arsed to take it because getting it onto my reader of choice is just too much hassle.

you can't convert it with calibre?

No. You need to own a Kindle whose serial no. is used by Calibre to convert to any other format.

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#65

I once tried (and succeeded!) at purchasing the Dragon Book for Kindle, but had to change to a US address. I bought the book, bu then Amazon wanted me to verify I had moved to the U.S. I never bought another book from Amazon ever again.

Why? It's not Amazon's fault, but rather the decision of the publisher... And I guess it's your loss anyway. I had the same problem (I have to use amazon.de), but hey, better that than nothing!

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#66

Earlier quoted context omitted.

you can't convert it with calibre?

No. You need to own a Kindle whose serial no. is used by Calibre to convert to any other format.

If you download it to any of the desktop apps, I think you should be able to convert it without a serial number; I've done it several times before and I don't have a Kindle. Here[1] are some Calibre plugins that automate it fairly easily. You could also use the Cloud Reader if you don't want to go through the hassle.

[1] http://apprenticealf.wordpress.com/2010/02/11/hello-world/

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#67

Once every six months something inspires me to put a book on the Kindle that I received as a Christmas present two years ago. Then the frustrations begin. In this case, after finding the table of contents I try to use the up-down-joystick-button to navigate the TOC. It's just painfully slow and it's displaying definitions for every word I happen to be on (it starts off showing me the definition for "Table" in Table o…

I read almost twice as many books since I got my kindle for Christmas last year. I even prefer reading on the kindle to reading on a pc/tablet or a traditional book.

That said, for reference books, it's worse than the alternatives. I almost exclusively use it for reading books back-to-back (i.e. relying very little on the arrow keys)

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#68
post #9
post #2

It's not available for me in Indonesia with this message: This title is not available for customers from your location in: Asia & Pacific What will it cost when it's released later?

If you send me your email address I'll lend you my copy for 14 days (the limit set by the publisher).

I can't find a way to message you. How do I do that? There's no email in your profile...

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#69
Thanks, downloaded and read through it and I picked up a couple new tricks, even as a pretty experienced Vim user.

Some comments:

1) The order feels a little artificial. I like that inserting text isn't mentioned until a couple chapters in, but I think that the focus on saving/writing files at the start is misplaced. If I'm a newbie and I don't know how to change or insert text, I don't have the ability to meaningfully practice saving as I read.

2) There are some weird inconsistencies, like teaching :next (:n) for next file, but Ctrl+^ for previous file. :Next (:N) is easier to remember, works in vi and is shorter to type than the less-compatible :prev that I would otherwise suggest. :! is mentioned several times in different contexts, without a hint that it's the same command in each but with a different prefix or argument.

3) There's a focus on memorization of compound commands rather than understanding how motions and operators work. If you know how the cursor works and that "y" means "yank from cursor", you don't have to remember that "yl" means "yank a single character" because you can compose it from "yank from cursor" and "one character to the right". This composition of movement and operators is one of vi's greatest strengths, and I think that exposing new vi users to it as early as practically possible is a great way to get them to appreciate what they're learning.

All in all, it's a worthy read for someone who doesn't know any vi and needs a quick lesson in the basics, somewhat like the foreign language learning products that focus on teaching you enough conversational vocabulary for a vacation or business trip. If you want to immigrate to vi-land permanently, I'd suggest supplementing this with something like Drew Neil's "Practical Vim"[1] to learn the "bigger picture" stuff as well.

[1]: http://pragprog.com/book/dnvim/practical-vim

Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only

#70

Earlier quoted context omitted.

No. You need to own a Kindle whose serial no. is used by Calibre to convert to any other format.

If you download it to any of the desktop apps, I think you should be able to convert it without a serial number; I've done it several times before and I don't have a Kindle. Here[1] are some Calibre plugins that automate it fairly easily. You could also use the Cloud Reader if you don't want to go through the hassle. [1] http://apprenticealf.wordpress.com/2010/02/11/hello-world/

My issue (well, one of my issues) is that I'm on a rather pristine new work computer, and while I do use Calibre at home, I don't want to put it on this machine. Additionally, I don't want do deal with the hassle of creating a Kindle account and installing an application that I would literally use once.

In comparison, if it was a DRM-less epub, or even a PDF, it would be the work of maybe 30 seconds to SCP it to my iPad, open it in iFile, and load it into iBook. No extra applications, no obscure steps to remove the DRM.

The note about the Calibre plugins is appreciated, though, and I'll be sure to keep it in mind if this comes up again. It was more a point about the fact that I've don't recall having an experience with DRM so blatantly removing value from a product that it was the difference between consuming it and walking away.

Post reply on HN