Y
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
teh_klev
3627 days ago
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.
link
ascagnel_
3627 days ago
Similarly, 'I' will move the cursor to the start of the line and then enter insert mode.
link
teh_klev
3627 days ago
Apropos my comment above, that command has lived in my vi/vim blind spot.
link