I love vim. I am not one of those users who has a huge number of plugins and takes part in an extended eco-system that they perhaps do not fully understand -- for the last ~20 years of my life I have been trying to learn a little more vim each time I use it. I often don't, but it just has so many surprises that when I feel frustrated, I try to work out the "vimmish" way of doing things. Occasionally I give into tempt…
Am a similarly profiled (neo)vim user .. but without cat. Sometimes I catch strange letter combinations like "gqip" in my emails that baffle the recipients. Want vim keys everywhere!
History and effective use of Vim (2019)
91–98 of 98 posts
Re: History and effective use of Vim (2019)
#92Earlier quoted context omitted.
That’s strange. I just tested it and both GVim on windows and vim on a vps linux terminal have no problem with going anywhere on a 170k long line. It lags a little but visually is fine. And just in case you missed it, you may gj gk to navigate visual lines or remap j, k (and , ) to gj gk to make that default. I have a genuine question why use nvim at all if it has such issues with presenting text in a window.
This is about _scrolling_ visual lines. Navigating them as you say, is just fine.
Re: History and effective use of Vim (2019)
#93Earlier quoted context omitted.
Unsolicited advice for scrolling without spamming j and k: - C-u and C-d to jump up/down - [ and ] to go prev/next empty line (I have a macro to clear empty spaces at the end of lines so this works well for jumping functions in code) - from the article: 50% to go the halfway point of a document - 100gg to go to line 100 - 100k to go 100 lines down Are there any more good ones? Edit: occurs to me that you might have r…
:1 to go to the top of the file, G to goto the bottom of the file
Re: History and effective use of Vim (2019)
#94Earlier quoted context omitted.
This is me all the time. The worst is “kkk”. I can’t remember why I type it in vim (it’s muscle memory, and I’m not at a computer to try it out), but it has really bad connotations here in the US south, so… no bueno.
Can I ask what kkk means? I thought it meant that you were laughing like haha (a leas in Brazil) I didn't know it had bad connotations
Re: History and effective use of Vim (2019)
#95Re: History and effective use of Vim (2019)
#96Earlier quoted context omitted.
Unsolicited advice for scrolling without spamming j and k: - C-u and C-d to jump up/down - [ and ] to go prev/next empty line (I have a macro to clear empty spaces at the end of lines so this works well for jumping functions in code) - from the article: 50% to go the halfway point of a document - 100gg to go to line 100 - 100k to go 100 lines down Are there any more good ones? Edit: occurs to me that you might have r…
{ / } jump to start/end of the block. Between that and 20j and (blasphemy probably) just using the scroll wheel, that handles most of my scrolling needs.
Re: History and effective use of Vim (2019)
#97What amazed me is pathogen does not seem to be used anymore. Maybe I'll have to try the new way.