[ale] Appending in VIM
JD
jdp at algoloma.com
Tue Feb 5 16:49:11 EST 2013
On 02/05/2013 04:20 PM, Chris Fowler wrote:
> Here is a quickie.
>
> A lot of times I add mysql describe <table name> output to a perl program as
> comments. I execute mysql ... >> name.pl and then I move the lines to where I
> want and add '# ' to the beginning of each line. The first line I'll do I then
> # then space, and then esc. The other lines I hit the period to execute the
> last edit.
>
> Is there a way I can tell vim to append '#_' to N lines?
>
If you know the line number range, doesn't this work?
7,53s/$/#_/g
set nu to see line numbers.
More information about the Ale
mailing list