Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 whoever posted them. This site is not responsible for what they say.
How to move cursor a line at a time?
Authored by: bryanc on Sep 06, '07 04:14:42PM

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 | # ]