Re: When is an xterm's t_Co detected?

2015-12-31 Thread Bram Moolenaar
Gary Johnson wrote: > > > I recently learned that Vim can query an xterm directly for the > > > number of colors it supports. (This is not necessarily the same > > > value reported by terminfo. Otherwise, it wouldn't be very useful.) > > > Vim then sets t_Co to this number. I would like to use

Re: When is an xterm's t_Co detected?

2015-12-31 Thread Christian Brabandt
On Do, 31 Dez 2015, Gary Johnson wrote: > That seems like the right thing to do. I'm trying to think of what > could go wrong. I'm concerned about this statement under ":help > OptionsSet": > > Note: It's a bad idea to reset an option > during this autocommand, this may break a > plu

Re: When is an xterm's t_Co detected?

2015-12-31 Thread Gary Johnson
On 2015-12-31, Bram Moolenaar wrote: > Gary Johnson wrote: > > > I recently learned that Vim can query an xterm directly for the > > number of colors it supports. (This is not necessarily the same > > value reported by terminfo. Otherwise, it wouldn't be very useful.) > > Vim then sets t_Co to t

Re: When is an xterm's t_Co detected?

2015-12-31 Thread Bram Moolenaar
Gary Johnson wrote: > I recently learned that Vim can query an xterm directly for the > number of colors it supports. (This is not necessarily the same > value reported by terminfo. Otherwise, it wouldn't be very useful.) > Vim then sets t_Co to this number. I would like to use that value > to

When is an xterm's t_Co detected?

2015-12-31 Thread Gary Johnson
I recently learned that Vim can query an xterm directly for the number of colors it supports. (This is not necessarily the same value reported by terminfo. Otherwise, it wouldn't be very useful.) Vim then sets t_Co to this number. I would like to use that value to affect other color settings, bu

Re: mysterious grey bar with symbols in it

2015-12-31 Thread Charles Campbell
Christian Brabandt wrote: > Hi 'Andy'! > > On So, 27 Dez 2015, 'Andy' via vim_use wrote: > >> Thanks! >> That was exactly it. I never would have connected that featurewith the >> symbols, otherwise. >> To complete the answer for others reading: making the symbolsand bar go away >> mans doing this

Re: Is there a way to display line numbers and relative line numbers as with two rulers?

2015-12-31 Thread Tony Mechelynck
On Fri, Dec 18, 2015 at 7:51 AM, Christian Brabandt wrote: > On Do, 17 Dez 2015, Igor Forca wrote: > >> Is there some setting to have two rulers one on the left and one on >> the right in single window? > > No there isn't. We would have told you so otherwise. > > Best, > Christian If by "ruler" y

Re: Is there a way to display line numbers and relative line numbers as with two rulers?

2015-12-31 Thread Charles E Campbell
Arun wrote: On Thu, Dec 17, 2015 at 1:05 PM, Christian Brabandt mailto:cbli...@256bit.org>> wrote: On Do, 17 Dez 2015, Arun wrote: > visual indication is a very acceptable trade off for me. I have two > visual mode mappings in that regard: > > > :vnoremap :d :vnore