F3: Insert Last Args

All arguments from the previous command will be inserted at the cursor.

You can use EDITKEYS /A:n to tweak the way this key works. n is a bitmapped value; the default value is 2 (break on slash).

Value:Feature:
1Overwrite
2Break on slash
4Keep old args
8Space around args

Overwrite: Normally, pressing F3 inserts the last command’s arguments at the cursor, and pushes any remaining text right. If you set this bit, then the last command’s args will replace everything to the right of the cursor.

Break on slash: If this bit is set, an unquoted slash in the command is treated as the start of its arguments. This is useful if you are in the habit of not spacing between a command and its options, e.g. DIR/A/W.

Keep old args: This bit controls what happens when a command with no arguments — a one-word command — is entered. The default behavior is to discard any arguments from the previous command. If you set this bit, the plugin will instead retain the last set of arguments across any “argless” commands.

Space around args: By default, the last command’s arguments are inserted into the command line verbatim. If this bit is set, the plugin will automatically add spaces between the inserted arguments and any text already on the command line.


F3 is the default hotkey for this action, but you can change it with EDITKEYS /K3:key.