1 Dec 2005 19:27
history-preserve-point
Dan Jacobson <jidanni <at> jidanni.org>
2005-12-01 18:27:49 GMT
2005-12-01 18:27:49 GMT
$ man bash
history-preserve-point
If set to on, the history code attempts to place point at the
same location on each history line retrieved with previous-his-
tory or next-history.
Wish emacs' comint-previous-input could optionally do that.
Useful e.g., when wanting to do
$ echo a b 1 c d e
$ echo a b 4 c d e
$ echo a b 2 c d e
Hmmm, perhaps repeat-complex-command could also have this ability
added.
Better than always just having the cursor placed at the end of the
line with no alternatives.
RSS Feed