atyh on Nostr: vi(1) learnins fer the day... ----------------------------- :3,40 !fmt -w 65 = on ...
vi(1) learnins fer the day...
-----------------------------
:3,40 !fmt -w 65 = on lines 3 thru 40, run fmt(1) on all paragraphs, changing their width to 65.
:1,4 !fmt -w 65 -c = set the width to 65 on lines 1-4, and use fmt(1) to center all text on those lines.
:1,40s/^/#/ = on lines 1-40, place a '#' at the begining of each line.
:1,10s/$/.ogg/ = add a .ogg file extention to lines 1-10
:r !doas pkg_info sshuttle = insert the results of doas pkg_info sshuttle at cursor.
Published at
2023-04-09 10:12:24Event JSON
{
"id": "7b136ff2ebdf01377953118b3454538d80a1480f34b1a297624e8ec468b09040",
"pubkey": "727454ab043b983fb576c654fcfb0aa9659b298e8fde751d9f235b964a795f86",
"created_at": 1681035144,
"kind": 1,
"tags": [
[
"mostr",
"https://pleroma.atyh.cc/objects/ef6e97bf-6a42-4d57-a7af-e9d17afd0c0f"
]
],
"content": "vi(1) learnins fer the day...\n-----------------------------\n:3,40 !fmt -w 65 = on lines 3 thru 40, run fmt(1) on all paragraphs, changing their width to 65.\n\n:1,4 !fmt -w 65 -c = set the width to 65 on lines 1-4, and use fmt(1) to center all text on those lines.\n\n:1,40s/^/#/ = on lines 1-40, place a '#' at the begining of each line.\n\n:1,10s/$/.ogg/ = add a .ogg file extention to lines 1-10\n\n:r !doas pkg_info sshuttle = insert the results of doas pkg_info sshuttle at cursor.",
"sig": "8e79abc1eccfb6dec0a8d02079e5f11ab47083d8045472d69cb3c91f28cdd963f0ff93daf07e263609c00e735dd9eec0761b96f3cb06406613991f3d145d8b78"
}