Hello everyone,

This is my first post to vim_dev, so I'm not sure if this is exactly where to 
post, but it seemed to be a place to discuss it based on what I read from 
vim.org.

Anyways, my suggestion is to add a formatting option to the statusline that 
allows people to center text. The main concept would be adding both "%[" and 
"%]" as new options in the format string for the statusline. Everything within 
that section would be centered in the statusline. It should also play nicely 
with "%=". In other words, when you have something like:

"abc%[def%=ghijkl%]mnop"

as the statusline, in between "f" and "g" would be the center of the vim 
buffer. and there would be a number of spaces between "c" and "d", along with 
"l" and "m". 

I have written a patch for Neovim to add this feature already 
(https://github.com/neovim/neovim/pull/4489) but it is still very much under 
construction with several TODOs left for me to finish before I consider it 
truly functional.

However, before cleaning up and finalizing any details of that functionality, I 
wanted to see if there was any interest for this in the Vim community as a 
whole, as I would prefer to be able to implement this in a way consistent with 
Vim in general.

Thank you,

TJ

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui