If you'd like to make sure you know all your vi basics, I recommend my presentation "Vi Basics" at http://www.verticalsysadmin.com/vi/class/ -- it is based on Bill Joy's original paper introducting vi and covers the basics of vi according to its author and in the same order that the author covered them.
Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
131–140 of 143 posts
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#132Earlier quoted context omitted.
I've been using it for about 17 years and I too am a noob. hjkl
I haven't made the jump from arrows to hjkl. My cofounder's keyboard is arrowless, but my HHKB lite still has the arrows. Maybe in another 5 years I'll make the switch.
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#133If you'd like to make sure you know all your vi basics, I recommend my presentation "Vi Basics" at http://www.verticalsysadmin.com/vi/class/ -- it is based on Bill Joy's original paper introducting vi and covers the basics of vi according to its author and in the same order that the author covered them.
Very cool, thanks.
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#134Earlier quoted context omitted.
I've been using it for about 17 years and I too am a noob. hjkl
I haven't made the jump from arrows to hjkl. My cofounder's keyboard is arrowless, but my HHKB lite still has the arrows. Maybe in another 5 years I'll make the switch.
See? the arrow key scan become four more user keys, and they have easy to remember direction/orientation if you need it. Having trouble navigating, swapping, and resizing, your layout (and accidentally hosing text with ^w in the wrong mode? I did, but 20 minutes after seeing someone else use a similar setup, I was using my own variant more comfortably than any console window management bindings I'd ever tried before.
tl;dr; Remap the arrow keys from movement to anything you struggle with normally, and be amazed how you survived before your four newest "user" keys were liberated!
(Also, if anyone wants me to, I'd be happy to post my re-binding config lines as a template/sample.)
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#135Thanks, 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 meaningful…
Pretty nice review and I agree with most of your comments. I agree that it seems strange to teach Ctrl+^ for previous file. (Not symmetrical, and doesn't really mean previous anyway.) However, particularly for the purpose of teaching newbies, I think :Next would be even more confusing... and I could be wrong about this, but I think the number of people who need to care about learning vi (as opposed to vim) is really…
If you switch to vim as the baseline, there's a bunch of other easier ways to do things too, like using :sav (:saveas) instead of :w followed by :e .
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#136Earlier quoted context omitted.
I haven't made the jump from arrows to hjkl. My cofounder's keyboard is arrowless, but my HHKB lite still has the arrows. Maybe in another 5 years I'll make the switch.
Using hjkl instead of the arrows is not a small difference. It's huge. Staying on the home-row vs having to move your hand over and back constantly affects your speed and accuracy in a big way. Here's an easy way to switch: never, ever use the arrow keys to move the cursor again. Done!
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#137Thanks, 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 meaningful…
Pretty nice review and I agree with most of your comments. I agree that it seems strange to teach Ctrl+^ for previous file. (Not symmetrical, and doesn't really mean previous anyway.) However, particularly for the purpose of teaching newbies, I think :Next would be even more confusing... and I could be wrong about this, but I think the number of people who need to care about learning vi (as opposed to vim) is really…
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#138Earlier quoted context omitted.
Using hjkl instead of the arrows is not a small difference. It's huge. Staying on the home-row vs having to move your hand over and back constantly affects your speed and accuracy in a big way. Here's an easy way to switch: never, ever use the arrow keys to move the cursor again. Done!
What do you use in insert mode?
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#139Earlier quoted context omitted.
I've been using it for about 17 years and I too am a noob. hjkl
I haven't made the jump from arrows to hjkl. My cofounder's keyboard is arrowless, but my HHKB lite still has the arrows. Maybe in another 5 years I'll make the switch.
Re: Vim and Vi Tips: Essential Vim and Vi Editor Skills, free on Amazon today only
#140Thanks, 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 meaningful…
Pretty nice review and I agree with most of your comments. I agree that it seems strange to teach Ctrl+^ for previous file. (Not symmetrical, and doesn't really mean previous anyway.) However, particularly for the purpose of teaching newbies, I think :Next would be even more confusing... and I could be wrong about this, but I think the number of people who need to care about learning vi (as opposed to vim) is really…