Wednesday, August 17, 2011

Re: command history ("q:") inherits foldcolumn from current window

On Wed, August 17, 2011 4:52 pm, Paul wrote:
> According to the help, foldcolumn is local to window. I can try
> ":setg foldcolumn=0", but when I issue ":setg? foldcolumn", the result
> depends is determined by whatever window I happen to be in. So does
> the foldcolumns showing in the command history. After ":setg fdc=0",
> try ":setg fdc?" from different windows, some with foldcolumns and
> some without. Also try calling up the command history from different
> windows. Do you get the same variable result?

If I only enter :setlocal fdc=7 issuing :setg fdc? always returns 0
which is what I would expect.

Are you sure, you don't have in your .vimrc anywhere a set fdc=7
command?

regards,
Christian

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