Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'How to move cursor a line at a time?' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
How to move cursor a line at a time?
Authored by: bryanc on Thu, Sep 6 2007 at 4:14PM PDT
If your commands are that long, you might also find it useful to edit the current command-line in your default text editor. Just press C-x C-e.

When you quit the editor the command is executed as normal.

(You can change the editor used by setting the $EDITOR environment variable, it uses emacs by default I think).

If you use vi-mode for the shell, the keybinding is esc-v. (or just v if your not in insert mode).

[ Reply to This | # ]