image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old January 25th, 2007, 08:51 AM
Registered User
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
primepie is on a distinguished road
Arrow vim key problem in terminal.app / macbook pro

Hi, I have a macbook pro. When I use vim on the terminal I can't get ctrl-W+< or ctrl-W+> to work (these commands are used to change the width of the window when vertically split). i tried undefining werase on stty by doing stty werase undef hoping it could solve the problem but this didnt happen. Please any suggestion on this issue?
Reply With Quote
  #2  
Old January 26th, 2007, 03:30 AM
macbri's Avatar
Mac (r)evolution
 
Join Date: Jun 2005
Location: Ireland
Posts: 247
Thanks: 1
Thanked 0 Times in 0 Posts
macbri is on a distinguished road
I've tried to duplicate the problem you're seeing on my MBP and it seems to work fine, either with TERM=xterm-color or TERM=vt100. In either case I use :vsp to get a vertical split, and then the following key combo to adjust the width:

Ctrl-w then Shift-< or Shift->

Here's the full output of "stty -a" to compare to your settings:

speed 9600 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
Reply With Quote
  #3  
Old January 26th, 2007, 04:57 AM
Registered User
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
primepie is on a distinguished road
Thanks for your help macbri. I did the same thing as you said in your reply and it worked, it turns out I wasn't pressing shift with the key '<'. On the other hand I am trying to keymap the command key with with the arrow keys is that possible?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:22 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.