On Tue, Jul 13, 2010 at 02:56:43PM +1000, John Beckett wrote:
> Linda W wrote:
> > Is there a 'quick & easy' way to copy the line numbers from
> > gvim into a copy buffer? (vs. the slow way of creating a copy
> > of the file with the same numbering and copyying that)...
>
> No, I don't think so. However, in many terminal Vims, you can
> use the operating system to copy the text, including the line
> numbers.
>
> If desperate, you could try inserting line numbers into the
> buffer with some ideas from:
> http://vim.wikia.com/wiki/Insert_line_numbers_2
>
> John
I use this one, also found somewhere on the wiki i think
:%s/^/\=line('.') . '. '/
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php