This is interesting academically, but it's obviously impractical. It takes way too long compared to just doing it with relative jumping as you first showed. The VIM command line is useful for somethings. "norm" commands, for example, are crazy powerful and let you do things that you would normally have to write a macro to do. I use norm commands often when modifying text in a programatic way. I applaud your efforts to teach VIM. It's not an easy job. Keep it up!
I agree. Instead of jumping to the line with relative numbers, if I can go there by searching, I can come back easily with Ctrl O. Something I can’t do when I use relative jumping as that doesn’t touch the jump list. About the norm command, I use it in conjunction with macros sometimes. Typically when editing the line involves coming back to normal mode. I have demonstrated this in ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-RaynmHxUixA.html.
@@theteachr I thought of control-o immediately! I tried that and it didn't work, as you said. The jump list is still a little mysterious to me, but your example of searching makes sense. I guess searching is more of a "jumping" kind of action. As opposed to just simple motion like "6k". I watched your norm video you linked. The idea of doing both norm and macros together is awesome. One of the biggest problems with repeated macros is how do you make it stop? Or alternatively, "how do you specify the exact correct number of repeats?" Before I discovered the norm -> macro technique I was always guessing the number and doing multiple trials (and undos). I should go look through more of your videos now; you can probably teach me something else too. :) Take care.
wow! awesome video. do you plan on making more vim quicky vidoes. that would be great. also, maybe a keypress overlay so we can see you type the commands? keep make great videos.
I am using (neo)vim to write texts and prose, rarely programs. Therefore, I like to know if there is a way to do this with paragraphs as well? Thanks a lot.