Tuesday, May 15, 2018

autocmd terminal set signcolumn=no

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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: