Wednesday, March 28, 2007

bash: edit-and-execute-command (C-xC-e)

edit-and-execute-command (C-xC-e)
Invoke an editor on the current command line, and execute the result as shell commands. Bash attempts to invoke $FCEDIT, $EDITOR, and emacs as the editor, in that order.

------------------------

$ set -o vi
M-v (or Esc v)

$ svn check http://foo.net/project/trunk bar (M-v)

---------------clear screen
emacs: C-l
vi: Esc C-l

ubuntu: C-M-l, lock screen

No comments: