Monday, March 4, 2019

Re: termguicolors and xterm

On Mon, Mar 04, 2019 at 04:06:19AM -0800, Josh Holland wrote:
> On Saturday, 19 January 2019 22:43:30 UTC, Chris Jones wrote:
> > Has anyone been able to get the 'termguicolors' option to work on xterm
> > or does xterm altogether lack the capability?

I don't know if it works for you and I don't have any experience with
'termguicolors' but following lines are part of my vimrc:

43 if has('gui_running')
44 colorscheme molokai_dark
45 set guifont=Monospace\ 10
46 set columns=85 lines=30
47 elseif has('x11')
48 colorscheme molokai_dark
49 set guifont=Monospace\ 10
50 " set columns=85 lines=30
51 else
52 colorscheme evening
53 set t_Co=256
54 endif

I use both the console and the xterm terminal emulator. Since xterm has
a lot more colors than the console, I use the above do trigger the right
colorscheme for that environment. The top 'if/elseif' part looks double
as x11 and GUI are the same for the user of a system. Somehow I noticed
differences eg. between different terminal emulators.

I hope you can use this to resolve your problem on coloring vim and
syntax.

//meine

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