[ale] question about vi and bash
Lightner, Jeff
JLightner at water.com
Thu May 5 13:55:02 EDT 2011
You can use the standard vi commands:
Ctrl-v = Start of line
$ = End of line
Like your co-worker I do "set -o vi" every time I use bash because I like the vi commands for command line edition AND I can hit "v" to put the line into a full screen editing mode when I want to use it as the basis for a script I'm building.
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Chuck Payne
Sent: Thursday, May 05, 2011 1:41 PM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Subject: [ale] question about vi and bash
Hey guys, I have a question. I co-worker of mine love to set bash up
so that commands are more live vi, in the profile he has the
following...
set -o vi
Well, I can't do a lot of my keys that I am use to
ctrl-a = the begin of a line
crtl-e = the end of a line
I have found that 0 will do teh same as ctrl-a, but $ does the same
ctrl-e, but how do I do that when I am on the command line.
--
(678) 636-9678
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- en.opensuse.org/User:Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363
Have you tried SUSE Studio? Need to create a Live CD, an app you want
to package and distribute , or create your own linux distro. Give SUSE
Studio a try. www.susestudio.com.
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Proud partner. Susan G. Komen for the Cure.
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
More information about the Ale
mailing list