DOes it work in the console?hmm .. i just configured the colors in vim via a colorscheme that is loaded in the vimrc , but the problem is that the scheme wont work in a terminal ... like Eterm or xterm .. is there a way to do this ?
In your .vimrc:okay - here is another question:
which flle do i edit do add words for coloring? *e.g. i typedef long int to UINT32 and i want UINT32 to have the same color as a varible.
Here's what it does. MyWords is a variable which conatins the words UINT32 LJR pbharris and vim. On the second line, we say, highlight MyWords with the color blue. You can change blue for something else.Code:syn MyWords UINT32 LJR pbharris vim hi MyWords ctermfg=blue
DOes it work in the console?hmm .. i just configured the colors in vim via a colorscheme that is loaded in the vimrc , but the problem is that the scheme wont work in a terminal ... like Eterm or xterm .. is there a way to do this ?
I don't know. I use mutt and mutt uses vim.You wouldn't happen to know how to set Vim as the editor in Mozilla Composer, would you? *As far as I can tell, you can not use an external editor unless you, um, run it externally.
vous et're le vim guru!
you know what i mean!!! thanks GnuVince
it works in the console .DOes it work in the console?
Do you get colours with commands such as ls? I have this exact same problem. I can get bold and underlined text in a terminal, but not coloured. I can get coloured text in the console though.hmm .. i just configured the colors in vim via a colorscheme that is loaded in the vimrc , but the problem is that the scheme wont work in a terminal ... like Eterm or xterm .. is there a way to do this ?
I can get colors if I do ls or if I use another editor like mcedit .. but it wont work with vim .. :-/
Do you get colours with commands such as ls? I have this exact same problem. I can get bold and underlined text in a terminal, but not coloured. I can get coloured text in the console though.
Try adding this line to your .vimrc file:
it works in the console .
set background=dark
If this doesn't work, then it's probably your terminal. Do this command: export TERM=xterm-color and go back into vim. Tell me ifyou see colors
u could fix that by creating an alias like this:
Do you get colours with commands such as ls? I have this exact same problem. I can get bold and underlined text in a terminal, but not coloured. I can get coloured text in the console though.
alias ls="ls --color=auto"
put that in ur ~/.bash_profile and log in again (or type source ~/.bash_profile) and u'll always have colors with ls
Bookmarks