4 # File ID: d8de5ac8-5d37-11df-a137-90e6ba3022ac
5 # Inserts “CUT” marks with Vim fold before and after stdin.
6 # Select text in visual line mode and filter the block through this script.
14 my ($Indent, $Title) = ("", "CUT");
16 defined($ARGV[0]) && ($Title = join(" ", @ARGV));
17 $Line =~ /^(\s+)/ && ($Indent = $1);
18 print("======== $Title \x7B\x7B\x7B ========\n$Line");
24 print("======== \x7D\x7D\x7D $Title ========\n");