Timeline for How to copy each line 19 times, incrementing two different numbers by 180?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 17, 2017 at 4:38 | comment | added | ablewasiereisawelba | Your alternate solution - the one-line command that I was looking for - works as well. Great work! Thanks again. | |
May 17, 2017 at 4:36 | vote | accept | ablewasiereisawelba | ||
May 16, 2017 at 22:47 | history | edited | asoundmove | CC BY-SA 3.0 |
Formatting
|
May 16, 2017 at 12:24 | comment | added | asoundmove | You are most welcome + alternative solution in the edit to my answer. | |
May 16, 2017 at 12:23 | history | edited | asoundmove | CC BY-SA 3.0 |
Alternative solution
|
May 16, 2017 at 12:00 | comment | added | ablewasiereisawelba |
I used /= , Enter, then l to get the cursor to the right location; then several l 's to do it the second time. I was having the problem that <C-a> was selecting all text instead of incrementing. I recalled having that problem before - I had forgotten what I had done before, but I did a bit of searching and recalled that I had followed some instructions on another board and set the + sign to be increment with nnoremap <kPlus> <C-a> and set the - sign to be decrement with nnoremap <kMinus> <C-x> ), so I used + instead of <C-a> . Anyway, it worked! Thank you.
|
|
May 16, 2017 at 11:02 | review | First posts | |||
May 16, 2017 at 19:15 | |||||
May 16, 2017 at 10:57 | history | answered | asoundmove | CC BY-SA 3.0 |