autocmd terminal set signcolumn=no

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

autocmd terminal set signcolumn=no

M Kelly
Hi,

I set signcolumn=yes in my .vimrc.
When starting a terminal the sign column is not displayed, but then going into normal mode for this terminal shows it again.
I tried this -

au BufWinEnter * if &buftype == 'terminal' | set signcolumn=no | endif

but it does not work.
Any idea how to automatically set signcolumn to no for new terminals ?

If I manually, once already in the terminal, use <C-w>:set signcolumn=no then I do not get the sign column when switching into normal mode for this terminal.
 
thx,
mark

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: autocmd terminal set signcolumn=no

M Kelly
Hi,

I just read about the TerminalOpen event, when I use:

au TerminalOpen * set signcolumn=no

it works :-)

thx,
mark

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

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