Plus it's much more productive!
Vim: revisited
61–70 of 117 posts
Re: Vim: revisited
#62If only I had read this when I first started using Vim! I've been using Vim for a while, and this is one of the best-organized overviews of Vim I've seen, partly because he doesn't try to enumerate every single key combination (which is the wrong way to learn Vim - the right way is to synthesize the way that the individual operations are logically combined, though that admittedly takes some time). The best two pieces…
I agree about accepting (most) standard key bindings, but here are two clever bindings I adopted: " Enter command mode with SPACE instead of : noremap : " Exit insert mode with jj (double J) instead of ESC imap jj
Re: Vim: revisited
#63Earlier quoted context omitted.
I agree about accepting (most) standard key bindings, but here are two clever bindings I adopted: " Enter command mode with SPACE instead of : noremap : " Exit insert mode with jj (double J) instead of ESC imap jj
I used jj for a while as well, but once I found out that ctrl-C did the same thing out of the box, that became my "esc" key> (it's also important to remap caps lock to control, on the mac its easy: System Preferences->Keyboard->Keyboard->Modifier Keys)
Re: Vim: revisited
#64Earlier quoted context omitted.
I agree about accepting (most) standard key bindings, but here are two clever bindings I adopted: " Enter command mode with SPACE instead of : noremap : " Exit insert mode with jj (double J) instead of ESC imap jj
What about changing hjkl movements to jkl;? I didn't try it yet... But hjkl bothers me. My index belongs on j, for homerow touch typing, not h. Wouldn't it be an improvement? Not having to move the hand for movements. I must be missing something because everyone stays with hjkl.
That's why it makes sense that my strongest fingers are on the up/down motions, whereas to move to the left, a movement I never make, is off to the side.
Also, I wouldn't remap it for practical reasons - hjkl is a standard implemented in many places.
Re: Vim: revisited
#65set relativenumber I had been using Vim for years, and this is fundamentally one of the most useful settings I came across. I think it's only available it the latest rel. Funny side note, I was out on the town one night and saw a bunch of guys and girls hacking on their laptops... in a club. I noticed one guy using Vim, came up behind him and told him he has a good taste in editors. It turns out he's Jay Freeman (sau…
Re: Vim: revisited
#66i stopped reading here because i knew what was coming next. the omen was fulfilled by the next line:
"in insert mode, now you type text as your normally would. Pressing exits back to normal mode."
its command mode vs insert mode. any vi user should know that.. it's the very first thing vi bludgeons you with.
Re: Vim: revisited
#67Earlier quoted context omitted.
I agree about accepting (most) standard key bindings, but here are two clever bindings I adopted: " Enter command mode with SPACE instead of : noremap : " Exit insert mode with jj (double J) instead of ESC imap jj
What about changing hjkl movements to jkl;? I didn't try it yet... But hjkl bothers me. My index belongs on j, for homerow touch typing, not h. Wouldn't it be an improvement? Not having to move the hand for movements. I must be missing something because everyone stays with hjkl.
Hence, your question is somewhat misguided ;)
Re: Vim: revisited
#68Earlier quoted context omitted.
I used jj for a while as well, but once I found out that ctrl-C did the same thing out of the box, that became my "esc" key> (it's also important to remap caps lock to control, on the mac its easy: System Preferences->Keyboard->Keyboard->Modifier Keys)
Note: that isn't exactly the same--using Esc will trigger InsertLeave autocommands, Ctrl-C will not.
Now it does.
Re: Vim: revisited
#69I pretty happy to have learned about and `. I always learn something from these 'how I learned vim' articles.
Re: Vim: revisited
#70Still can't decide if Vim is actually worth all this trouble, or if it's a cult.
Both have pros and cons; both are in the same everlasting-holy-war and once in a while either will start a new crusade.