Tuesday, May 24, 2011

Re: make terminal VIM my default text editor Ubuntu 11.04

On 2011-05-24, Juan Manuel Incaurgarat wrote:

> On mar, 24 de may de 2011, 15:30:44 ART, Gary Johnson wrote:
>
> > On 2011-05-24, Juan incaurgarat wrote:

> > > now, Ben, i dont like GVIM cuz it doesnt look like the terminal VIM
> > > can i change its color settings? that can help.
> > > one of the good things about it is the toolbar?
> >
> > I have one set of configuration files that I share among all my Vim
> > installations:
> >
> > - vim on Linux
> > - gvim on Linux
> > - gvim on Windows
> > - vim on Cygwin
> >
> > so they all look and behave the same. While I'm using Vim, it's
> > easy to forget which system I'm on.
> >
> > I prefer to use Vim with light text on a black background, so I use
> > a common colorscheme file that executes
> >
> > hi Normal guibg=black guifg=lightgrey
> >
> > plus a lot of other stuff.

> Oh thats great gary.
> Can you please tell me which file is the one that saves those settings ans
> where to find it? So i can do the same thing.

If your color settings are simple and if you don't ever change
colorschemes, you can put them in your ~/.vimrc. Otherwise, you
should make your own colorscheme file, say juan.vim, and put it in
~/.vim/colors. Then put this command in your ~/.vimrc:

colorscheme juan

This has a good overview of how to create your own colorscheme file:

:help 06.3

You might also look at the other sections of that file,

:help usr_06.txt

and browse $VIMRUNTIME/colors to see what others have done.

Regards,
Gary

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

No comments: