Is there a simple way to run something like s/^[a-f]/# within a buffer? This inserts a comment at the begining of the line where the letters a to f start the line.
With *ahem* vim one can run that over a selected region or an entire file with ease. I haven't got the hang of 'shell_cmd_on_region_or_buffer' yet. - jm
Comment
Hey there Peter.
Is there a simple way to run something like s/^[a-f]/# within a buffer? This inserts a comment at the begining of the line where the letters a to f start the line.
With *ahem* vim one can run that over a selected region or an entire file with ease. I haven't got the hang of 'shell_cmd_on_region_or_buffer' yet.
- jm