Vim Problem
I'm now using KDE 3.1 on Arch .5. Everything is bleeding edge stable up-to-date :D
In any case, I use konsole for my colsoles (transparency is awesome......) but I'm having a problem with vim (my editor of choice). When I'm in a normal console window (TTY1 for instance), vim correctly displays the colors for different types of files. This is of course very helpful. In Konsole however, the colors are not displayed. All of the text is white! Also, the colors in my prompt (username, time, etc.) DO display correctly in Konsole, so it isn't just a single konsole setting. Any ideas where it might be? Thanks! -George |
Does :syn on in vim do anything? Just a thought.
Another thought: Does Konsole set the $TERM variable correctly, and if so - to what? It might set the terminal type to something that vim doesn't recognize, and if it doesn't recognize the $TERM it will default to black and white. You could try something like TERM=xterm vim to launch your editor with the terminal type set to plain xterm (which vim recognizes as a color-capable terminal). Håkan |
Hello, I'm having the same problem, you can see I have Konsole with $TERM set to xterm.
Code:
$ echo $TERM But my problem is accessing remote servers, I don't use gvim there, just plain vim and need my colors right. Is this a problem with KDE scheme colors? I've tried all of them. Should I use other terminal application? Regards! |
Hello Everyone
Here is what I have in the ~/.vimrc file: Code:
" Here is the /usr/share/vim/current/syntax/syntax.vim file: Quote:
|
Hi, thank you very much, unfornutely is not working for me, I have TERM=xterm in Konsole and have tried with all the color schemes it offers (from Black on Light Color, to VIM colors to XTERM Colors).
Only using gvim I can get "colorscheme someColorScheme" working. Any idea on how to override the colors imposed by Konsole? I'm used to it and wouldn't want to install another terminal before getting Konsole right. By the way, I needed to log to MSN with Kopete and upgraded KDE with "yum update kdenetwork" , it downloaded all the dependencies (including kdebase), could I have missed something there that is affecting VIM colors? Regards! |
I think it's not a Konsole configuration issue but a vim configuration issue
See my edited message above. What do you have in the .vimrc file? |
All times are GMT -5. The time now is 07:14 AM. |