Hacker News new | ask | show | jobs
by unsignedqword 3627 days ago
Didn't know that you could just use 'A' to append to the end of a line instead of doing '$a'. Neat!
2 comments

Strangely 'A' and 'i' were the first two things I learned, and probably the only for a long time. It is interesting what seems obvious to one vi/vim user becomes a new trick to another, different needs etc I suppose.
Similarly, 'I' will move the cursor to the start of the line and then enter insert mode.
Apropos my comment above, that command has lived in my vi/vim blind spot.