Re:Show HN: I built an online interactive course that helps ...
by vbrandl on Wednesday January 20, 2021 @04:03PM
(#25851952)
y2iw should copy without enclosing spaces. My mnemonic is "inner word" vs. "a word".
Re:Show HN: I built an online interactive course that helps ...
by gnubison on Wednesday January 20, 2021 @04:58PM
(#25852549)
Playing around with this, [count]iw seems to have some really strange behavior — I need to do 3iw to select two words, 5iw to select three words, etc.? I'm not sure if I'm missing something. (I normally don't use many text objects; bdw is in my muscle memory instead of daw, for example.)
Wow, how does it work? Why y3aw doesn't fully work for 3 words (it captures space before the word I started with)?