You are not logged in.

#1 2005-06-15 21:15:01

queenmedley
Member
From: Busan / S.Korea Busan
Registered: 2005-06-15
Posts: 46

vim color in xim !

A few days ago I installed archlinux.
untill now, I coud't solve this problem..
When I run vim in xterm, " syntax on" don't apply initially.
And when I type " : syntax on", color dosen't appeared but underlined...
However In Eterm and gvim the color of vim work well ...
I prefer vim in xterm to gvim.... What should I do??


- Queen Medley

Offline

#2 2005-06-15 21:33:08

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: vim color in xim !

export TERM=xterm-color

should do the trick. If it does, put it in your ~/.bashrc

Dusty

Offline

#3 2005-06-15 21:43:20

queenmedley
Member
From: Busan / S.Korea Busan
Registered: 2005-06-15
Posts: 46

Re: vim color in xim !

I 've just excuted that..
But.. It doesn't work

Dusty wrote:
export TERM=xterm-color

should do the trick. If it does, put it in your ~/.bashrc

Dusty


- Queen Medley

Offline

#4 2005-06-15 22:55:44

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: vim color in xim !

ummm it works for me...

export TERM=xterm-color
vim

or

TERM=xterm-color vim

if you want syntax on by default, add "set syntax on" in your vimrc

Offline

#5 2005-06-16 03:51:07

queenmedley
Member
From: Busan / S.Korea Busan
Registered: 2005-06-15
Posts: 46

Re: vim color in xim !

Oh ..  Now it 's fine....
Yeterday It didn't...but now it does...
Anyway thanks a lot...

Dusty wrote:
export TERM=xterm-color

should do the trick. If it does, put it in your ~/.bashrc

Dusty


- Queen Medley

Offline

#6 2005-06-16 11:06:06

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 552

Re: vim color in xim !

queenmedley wrote:

Oh ..  Now it 's fine....
Yeterday It didn't...but now it does...
Anyway thanks a lot...

That's likely cuz you need to relogin to make any changes in .bahsrc
having an effect.

-neri

Offline

#7 2005-06-16 14:59:11

queenmedley
Member
From: Busan / S.Korea Busan
Registered: 2005-06-15
Posts: 46

Re: vim color in xim !

Oops...
I 've got another problem..
Whenever I run xterm or xfterm, " TERM=xterm-color " come back to "TERM=xterm.."
So every time I run xterm, every time "export TERM=xterm-color"
.initrc .config/xft4/xinitrc etc...... I try everything....  but all useless...

I can use Eterm..  It support good color.. but I can't see asian language(korean)


- Queen Medley

Offline

#8 2005-06-16 15:13:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: vim color in xim !

for xterm, configure it in .Xdefaults

xterm*termName: xterm-color

Offline

Board footer

Powered by FluxBB