Wednesday, August 1, 2012

Re: buffer size

On Tue, Jul 31, 2012 at 07:09:25PM +0200, rockybalboa4 wrote:
> What ways are there to check the buffer size?
>  
> getfsize()
>  
>  
> redir @"
> execute "silent normal! g\<C-g>"
> redir END
>  
>  
> More?

let sz = line('$')
call Dowhateverwith(sz)

--
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

No comments: