On 12/6/10 8:22 PM, Chet Ramey wrote: > Yes. In this case, the documentation is less than clear. The count > argument is actually set by the first call to yank-last-arg, and that > argument sets the word to extract from the history entry. Subsequent > calls to yank-last-arg without a different intervening editing command > use that same count as the argument to extract while moving through the > history, and any count given to those subsequent calls sets the number > of history entries to move. A negative count on those calls changes the > direction.
Sorry, that was partly a future direction. The count to the second and subsequent calls just changes the direction, not the number of history entries to skip. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/