Thursday, December 27, 2018

Re: Question about color settings

> I am using MS Windows both in GUI and command prompt mode. What kind of
> terminal is set when IĀ
> start VIM from a DOS command prompt?

you could add some lines to your .vimrc to distinguish between GUI en
CLI environment but use the same settings like line numbering in both
envoronments. the blocks can be extended as you like. it is possible
that naming the environment (`x11' for using the X window system) has to
be called differently on a Windows box. I don't have any experience with
that.

below is the part I use:

if has('gui_running')
colorscheme molokai_dark
set guifont=Monospace\ 10
set columns=85 lines=30
elseif has('x11')
colorscheme molokai_dark
set guifont=Monospace\ 10
" set columns=85 lines=30
else
colorscheme evening
set t_Co=256
endif

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