vim syntax highlighting does not work in screen

2006-11-12 Thread Sunir Shah
Hey folks, aladdin wrote on August 16, 2006 that My vim syntax highlighting does not work in SCREEN. I had the same problem on my machine. Check that you're running vim and not vi. Try running vim file.pl instead of vi file.pl. When you run screen, you often lose the alias vi

Re: vim syntax highlighting does not work in screen

2006-08-24 Thread Michael Parson
On Thu, Aug 24, 2006 at 12:19:07PM +0800, aladdin wrote: aladdin wrote: Hi, all. My vim syntax highlighting does not work in SCREEN. snip I finally got it, everyone. Congrats! It turns out that the alias vi='vim' is not set in SCREEN. (It is strange that vi alias is set outside

Re: vim syntax highlighting does not work in screen

2006-08-23 Thread aladdin
aladdin wrote: Hi, all. My vim syntax highlighting does not work in SCREEN. The problem occurs under RedHat9, vim 6.1.320, SCREEN 4.00.02, remote login with putty. I have another Debian Sarge Linux under which vim and SCREEN work well together. I checked the screenrc file but cannot find

Re: vim syntax highlighting does not work in screen

2006-08-21 Thread Michael Schroeder
On Sun, Aug 20, 2006 at 08:58:35PM -0400, Eric Wood wrote: If all you're using screen for is the protect your editing session from connection drops, try screen's little bother called dtach. I never use screen ever since I found dtach because it doesn't foul with my emulation. Screen has to

vim syntax highlighting does not work in screen

2006-08-20 Thread aladdin
Hi, all. My vim syntax highlighting does not work in SCREEN. The problem occurs under RedHat9, vim 6.1.320, SCREEN 4.00.02, remote login with putty. I have another Debian Sarge Linux under which vim and SCREEN work well together. I checked the screenrc file but cannot find anything help

Re: vim syntax highlighting does not work in screen

2006-08-17 Thread cga2000
On Wed, Aug 16, 2006 at 11:51:40PM EDT, aladdin wrote: cga2000 wrote: 1. In vim: snip .. what is the value of t_Co= ? t_Co=8 by default here. infocmp output shows *colors#8* too, both inside and outside SCREEN. snip You could try verifying this by issuing a: :set t_Co=8 :set

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread aladdin
Michael Parson wrote: What is your TERM env set to? I tend to have mine set to either xterm or vt220, which lets the syntax highlighting and coloring come through. Does color-ls colorizes your ls output? If vim doesn't fire up in colorized mode, I'll usually exit and try it with (under

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread Michael Parson
On Wed, Aug 16, 2006 at 03:54:15PM +0800, aladdin wrote: snip Thanks for your suggestion. I checked the $TERM env and it was set to xterm, both inside and outside of SCREEN. But the highlighting and coloring still did not work. BTW, ls --color rendered the output colorized. I configured

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread Michael Parson
On Wed, Aug 16, 2006 at 11:10:29PM +0800, aladdin wrote: Michael Parson wrote: snip The vim colorization happens outside of screen? Do you have syntax enable set in your .vimrc? Sure it works outside of SCREEN. Here are some cfg files that may help. snip Huh. Well, I'm officially out

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread cga2000
On Sun, Aug 13, 2006 at 11:12:19PM EDT, aladdin wrote: Hi, all. My vim syntax highlighting does not work in SCREEN. The problem occurs under RedHat9, vim 6.1.320, SCREEN 4.00.02, remote login with putty. I have another Debian Sarge Linux under which vim and SCREEN work well together

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread Michael Parson
On Wed, Aug 16, 2006 at 12:21:17PM -0500, Aaron Griffin wrote: On 8/16/06, aladdin [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~$ set|grep TERM TERM=xterm Is this inside screen? screen is a terminal emulator, as is xterm. The TERM setting should be set to xterm if you're using xterm, and

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread Aaron Griffin
On 8/16/06, Michael Parson [EMAIL PROTECTED] wrote: On Wed, Aug 16, 2006 at 12:21:17PM -0500, Aaron Griffin wrote: On 8/16/06, aladdin [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~$ set|grep TERM TERM=xterm Is this inside screen? screen is a terminal emulator, as is xterm. The TERM setting

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread Michael Parson
On Wed, Aug 16, 2006 at 01:54:57PM -0500, Aaron Griffin wrote: On 8/16/06, Michael Parson [EMAIL PROTECTED]wrote: On Wed, Aug 16, 2006 at 12:21:17PM -0500, Aaron Griffin wrote: On 8/16/06, aladdin [EMAIL PROTECTED]wrote: [EMAIL PROTECTED]:~$ set|grep TERM TERM=xterm Is this inside screen?

Re: vim syntax highlighting does not work in screen

2006-08-16 Thread Nikolai Weibull
On 8/16/06, Michael Parson [EMAIL PROTECTED] wrote: On Wed, Aug 16, 2006 at 01:54:57PM -0500, Aaron Griffin wrote: On 8/16/06, Michael Parson [EMAIL PROTECTED]wrote: On Wed, Aug 16, 2006 at 12:21:17PM -0500, Aaron Griffin wrote: On 8/16/06, aladdin [EMAIL PROTECTED]wrote: [EMAIL

Re: vim syntax highlighting does not work in screen

2006-08-14 Thread Michael Parson
On Mon, Aug 14, 2006 at 11:12:19AM +0800, aladdin wrote: Hi, all. My vim syntax highlighting does not work in SCREEN. The problem occurs under RedHat9, vim 6.1.320, SCREEN 4.00.02, remote login with putty. I have another Debian Sarge Linux under which vim and SCREEN work well