Elektrine lite

← Feed

@RussSharek@mastodon.art

Post #1117403

2026-04-10 22:09 UTC

As I continue to escape into the obscuria of elder text mangling tools, I've found myself enjoying the opportunity to act as the local #viTips fairy when I find anything interesting or useful. And here's another cool vi trick I found! You can append to a file rather than overwriting it by prefixing >> to the filename: :w >>appendtofilename This can work on parts of a buffer by prefixing line numbers or ranges: 2,+1w >>appendfilename This appends the second and subsequent line. #vi #nvi

Replies (0)

No replies.