Re: OT vim/uptime
Am 29. Jun, 2001 schwäzte Miguel Griffa so:
> > > then hitting Ctrl-O several times.
Also works with ctrl-o
> cool, a key-typo CTRL-P prints the last command...
Also works with ctrl-p. p is for previous. n for next, e.g. ctrl-n. ctrl-r
does a reverse, interactive search.
Many emacs-style editing commands should work.
OTOH, set -o vi ( or "set editing-mode vi" in /etc/inputrc or .inputrc )
puts the readline library into vi-mode.
esc puts you in editing mode, then k to go back, j to go forward, / to
search, cw to change word, etc.
bind -p | less
See how much of that you can interpret :). Anybody know of a document that
shows the same info in english? Is it in the bash man page ( BTW man bash,
then search for emacs and readline for more info about all of this stuff )
somewhere? bash man page is longer than war and peace :(.
ciao,
der.hans
--
# der.hans@LuftHans.com home.pages.de/~lufthans/ www.DevelopOnline.com
# Stell dir vor, es ist Krieg und keiner geht hin...
Reply to: