Hello, I'm writing a plugin that attempts to take advantage of extra whitespace in the statusline by displaying information of arbitrary length. Depending on the status of the current buffer, I want to display a specific slice of this information.
* I can grab the format string of `&statusline`, however this length can greatly differ from the actual on-screen length after all processing is done. * `%<` and friends won't help me here because I would possibly need to truncate from both ends of the string if the information I want to see is in the middle. I can determine what section of the string I want via the current status of the active buffer. Is there any way for me to grab the processed statusline via vimscript so I can alter it and make smart decisions based on it's length? Thanks, -- Randy -- 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
