acme9k/Toolbox

9 lines
361 B
Text
Raw Permalink Normal View History

# Compiled Edit scripts
[ Edit 1,$-1d ] # clear win
[ Edit x/^[ ]*/ a/# / ] # comment (replace # with comment prefix)
[ Edit x/^[ ]*# ?/ x/# ?/d ] # uncomment (replace # with comment prefix)
2022-04-07 21:52:36 +00:00
[ Edit s/^([ ][ ]|[\t]//g ] # unindent (2 spaces or tab)
[ Edit s/^/ /g ] # indent 2 spaces
[ Edit s/^/\t/g ] #indent tabs
[ Edit x/[^\n]\n[^\n]/ s/\n/ / ] # join lines