Timeline for Renumbering in Vim: g<C-A> won't work in vimscript function
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 3, 2024 at 15:25 | vote | accept | wxz | ||
| Apr 2, 2024 at 21:31 | comment | added | wxz | Oh, you're right. I saw it late last night and in my desperation to get this to work, thought it was necessary for referencing a control key. Thanks for pointing that out! | |
| Apr 2, 2024 at 21:18 | comment | added | D. Ben Knoble | The reddit post gives the $ as an example for operating on the end of the line. When you’re not sure, try :help. | |
| Apr 2, 2024 at 20:50 | comment | added | wxz | I thought that was how to write out <C-a> in a norm command based on this. | |
| Apr 2, 2024 at 19:19 | comment | added | romainl | You ask how to use g<C-a> but you are trying to use g$<C-a>. | |
| Apr 2, 2024 at 18:52 | comment | added | Vivian De Smedt♦ | Could you tell us why your are adding $? An example of transformation before and after would help to understand what you want to achieve :-) | |
| Apr 2, 2024 at 18:50 | answer | added | Vivian De Smedt♦ | timeline score: 1 | |
| Apr 2, 2024 at 16:51 | history | asked | wxz | CC BY-SA 4.0 |