Hey, this is a fun game!

On Wed, 2005-02-09 at 22:33 +1100, Angus Lees wrote:
> At Wed, 9 Feb 2005 09:42:31 +1100, Ben Leslie wrote:
> > 1/ Ctrl-R history searching
> > 
> > When using the shell you pretty quickly work out that pressing up will 
> > search
> > backwards through you history, however it tooks me ages to find out that  
> > you
> > could search backs through the history by typing Ctrl-R and a search string.
> 
> One of my favourite is M-.  (thats alt or maybe windows key and
> full-stop)

I've put this:

bind "\C-b":vi-bWord
bind "\C-f":vi-fWord

in my .bashrc to let me use ctrl-f/b to move forward and backwards
words. It was recently pointed out to me though that you can actually do
this with alt-f/b without any .bashrc modification at all.

Also, this:

alias screen='screen -e^\`\`'

makes the 'screen key' ctrl-~, which means I don't go crazy every time I
try to go to the start of a line with ctrl-a in a screen session.

Keep this stuff coming. It makes my life easier!

James.

-- 
"There is no I in TEAM but there is an i in Ninja"
  -- http://www.ninjaburger.com/sekrit/

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to