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.
-----------------------------
: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.