TIL I'm an intermediate user of Vim! /s I think this is pretty basic in terms of general vim commands. Navigation and insertion are all basic use cases that beginners should know. That said, the section about composing commands was really interesting!
Intermediate Vim
31–40 of 130 posts
Re: Intermediate Vim
#32TIL I'm an intermediate user of Vim! /s I think this is pretty basic in terms of general vim commands. Navigation and insertion are all basic use cases that beginners should know. That said, the section about composing commands was really interesting!
That's what I was thinking! These are pretty basic.
Re: Intermediate Vim
#33Re: Intermediate Vim
#34Disappointingly elementary. Even I, an Emacs user who occasionally uses vi am familiar the material in this. Can anybody suggest any real intermediate vi material?
Re: Intermediate Vim
#35Hey all, I'm the author. Feedback is welcome! :) The reason I wrote this is because I've been pair programming quite a bit lately and also mentoring some new vim users—so I wrote this little guide to help vim beginners level up their skills a bit. What I noticed is that a lot of vim beginners find composing commands and text-objects to be kind of mind blowing.. and even more experienced vim users mentioned that these…
Re: Intermediate Vim
#36Re: Intermediate Vim
#37As a Vim user one of my gripes when first using Vim was how cumbersome the built in help files were. I guess that's why there are so many "vim cheatsheets" out there, the built in documentation is a pain to use.
The biggest pain in vim is the escape key. And no, ctrl+[ isn't any better.
You -do- have the useless, enormous capslock key remapped to control, right? ;-)
Anyway, it's common to remap jj or jk to esc.
Re: Intermediate Vim
#38Re: Intermediate Vim
#39Maybe you can cover macros since they are conceptually very simple and very powerful. They may seem a bit complex but are quite simple. Basically you just record your editing movements and play it back. How macros work: press q x to record and q to end. Then repeat with @ x, where x is the name of the macro you want to use (you can have several macros). Anything you do will be played back. That's it... Conceptually s…
I was going to say that one annoying thing about these macros is you can't press . to repeat the last macro. It is annoying having to count out 143 lines and then do 143@x or what I tend to do is do it in batches of say 20 until I get to the end.. But this has prompted me to look this up and it turns out that you can use @@ to do this. This will make my life a lot easier, I can just smash until all my lines are updat…
:'norm @x