Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    Could you tell us why your are adding $? An example of transformation before and after would help to understand what you want to achieve :-) Commented Apr 2, 2024 at 18:52
  • You ask how to use g<C-a> but you are trying to use g$<C-a>. Commented Apr 2, 2024 at 19:19
  • I thought that was how to write out <C-a> in a norm command based on this. Commented Apr 2, 2024 at 20:50
  • 1
    The reddit post gives the $ as an example for operating on the end of the line. When you’re not sure, try :help. Commented Apr 2, 2024 at 21:18
  • 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! Commented Apr 2, 2024 at 21:31