:Listredo Command [LISTREDO/F7]

The :Listredo command displays any of the previous 1,000 commands.

LISTREDO[ start [ / stop ] ][;ABS] [;OUT=file]

[ string ][;REL]

[ ALL | @ ][;UNN]

(Default: display previous 20 commands)

(BJ, F7 and ,, are short for Listredo)

Commands are numbered sequentially from 1 as entered and the last 1,000 are retained. You can display a single command, a range of commands, all 1,000, or all the commands whose name matches the string. You can print the commands with ABSolute line numbers (the default), RELative line numbers (-5/-4), or UNNumbered. You can write the commands to your terminal or OUT to a temporary file. If you want to redo any of these commands, see Qedit icon biggrin :Listredo Command [LISTREDO/F7] o, :Redo, and Before.

Notes

Examples

  /listredo 5  /listredo 5/10  /listredo help           {print all Help commands}  /bj                      {historical shorthand!}  /listredo -10            {print last ten commands}  /listredo ALL            {print entire redo stack}  /listredo purge          {print all Purge commands}  /listredo purge xx       {print all "purge xx" commands}  /listredo @purge         {print all with "purge" anywhere}  /listredo @;rel          {print all, relative numbers}  /listredo 1/10;out=*lp   {dump commands to printer}  /listredo @;unn;out=save {write commands to a file}  

Notes

The :Listredo command can be abbreviated to “,,” as in MPEX, or to BJ, or can be invoked by the F7 function key. Using F7 to invoke Listredo only works in Line mode, not Visual mode. You cannot use “;” to combine commands on the same line.

:Listredo Command [LISTREDO/F7]