bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

end-of-line behavior with vi mode


From: Gregory Shaw
Subject: end-of-line behavior with vi mode
Date: Tue, 19 Apr 2005 11:39:21 -0600

Pardon me if this is a FAQ (I didn't see anything in the FAQ that addressed this), but:

When in emacs mode, if I execute a line-up (via a line-up or ctrl-p) to the previous history item, the cursor is set to the end-of-the-line. If I set vi mode, and execute an up-arrow, the cursor is still and end-of-line. However, if I use a escape-k (line-up in vi), the cursor goes to the start of the line. Is there some configuration item that allows the line-up to work the same in all cases? I like the line-up to go to the end of the line, as that is typically closer to the typo in the command line.

I've dug through the manual, but have found no reference to this behavior.

I haven't found any recent version of bash that doesn't have this same behavior. I've tested with 3.00.14 (solaris), 3.00.14(1) (fedora core 3), 2.0.5b (red hat 8) among others.

Thanks!

-----
Greg Shaw Phone: (303) 673-8273
IT Architect, Information Systems Fax: (303) 673-2733
Storage Technology Corporation
1 StorageTek Drive MS 4382 shawga@vinson.stortek.com (work)
Louisville CO 80028-4382 shaw@fmsoft.com (home)
"When Microsoft writes an application for Linux, I've Won." - Linus Torvalds
PGP Fingerprint: F5 9B 8E 1A 9E 21 BA CF 9C D8 F3 7A 17 47 C9 A1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]