Friday, August 12, 2011

Re: code window has foldcolumns=5, don't want this for command history

On Aug 12, 12:18 pm, sc <tooth...@swbell.net> wrote:
> On Friday, August 12, 2011 11:05:32 Paul wrote:
> > On Aug 12, 12:01 pm, Paul <paul.domas...@gmail.com> wrote:
> > > I often press "q:" (without quotes) in "normal mode" to pull
> > > up a command history.  The temporary window for this always
> > > comes up with foldcolumns=5.  I assume it is because
> > > foldcolumn=5 for the main window in which I am editting my
> > > programming code (which I want).  Is there a way to prevent
> > > the command history window from showing this? It is not a
> > > show stopper, just very distracting.  I am easily
> > > distracted, and there is no place for that when coding.
> > >  Thanks.
> > In fact, any new buffer I open view ":new" or ":vert new"
> > seems to have foldcolumn=5.  Perhaps I did something
> > unintended when I issued ":windo set foldcolumn=5".  It
> > seemed appropriate at the time, since all the buffers were
> > code buffers at the time.  But I don't want foldcolumn=5 to
> > be the default!
>
> perhaps when you issue the windo command to set foldcolumn you
> could add an 'l' to the 'set', making it local to each
> impacted buffer
>
>     :h :setlocal

OK, thanks. The problem seems to have gone away, but based on past
experience, I will certainly have occassion to try your solution.

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