Tuesday, July 31, 2012

Re: buffer size

On Tuesday, July 31, 2012 12:09:25 PM UTC-5, rockybalboa4 wrote:
> What ways are there to check the buffer size?
>
>  
>
> getfsize()
>
>  
>
>  
>
> redir @"
>
> execute "silent normal! g\<C-g>"
>
> redir END
>
>  
>
>  

There's the line2byte() function as well. I assume you want size in bytes?

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

Post a Comment