Command Line Editing Keys

<< Click to Display Table of Contents >>

Navigation:  TCC > Configuration > Initialization Files > Directives > Key Mapping Directives >

Command Line Editing Keys

These directives apply to TCC command line editing. You can redefine the keys using the TCC OPTION / Keyboard dialog. The key directives are saved in the [Keys] section in TCMD.INI.

 

DirectiveDefault        Description

 

AddFileF10        Keep tab completion entry and add another
AliasExpandCtrl-W        Expand all aliases on the command line
Argument0Ctrl-0        Get argument 0 from previous command line
Argument1 Ctrl-1        Get argument 1 from previous command line
Argument2 Ctrl-2        Get argument 2 from previous command line
Argument3Ctrl-3        Get argument 3 from previous command line
Argument4 Ctrl-4        Get argument 4 from previous command line
Argument5 Ctrl-5        Get argument 5 from previous command line
Argument6 Ctrl-6        Get argument 6 from previous command line
Argument7 Ctrl-7        Get argument 7 from previous command line
Argument8 Ctrl-8        Get argument 8 from previous command line
Argument9 Ctrl-9        Get argument 9 from previous command line
ArgLeft Alt-Shift-Left        Move the cursor left to the previous argument
ArgRight Alt-Shift-Right        Move the cursor right to the next argument
Backspace Backspace        Delete the character to the left of the cursor
BeginLine Home        Move the cursor to the start of the line
CommandDialog Alt-F2        Display the command dialog for the first argument on the command line
CommandEscapeAlt-255        Do not interpret the next keystroke as a command line editing key
ConsoleHeightMaxCtrl-Alt-Shift-Down        Increase the console window height
ConsoleHeightMaxCtrl-Alt-Shift-Up        Decrease the console window height
ConsoleWidthMaxCtrl-Alt-Shift-Right        Increase the console window width
ConsoleWidthMinCtrl-Alt-Shift-Left        Reduce the console window width
CopyCtrl-Y        Copy the highlighted text to the clipboard
Del Del        Delete the character at the cursor
DelArgLeft Ctrl-Alt-L        Delete the argument to the left of the cursor
DelArgRight Ctrl-Alt-R        Delete the argument to the right of the cursor
DelHistory Ctrl-D        Delete the current history list entry and display the previous entry
DelToBeginning Ctrl-Home        Delete from the cursor to the start of the line
DelToEnd Ctrl-End        Delete from the cursor to the end of the line
DelWordLeft Ctrl-L        Delete the word to the left of the cursor
DelWordRight Ctrl-R        Delete the word to the right of the cursor
DirectoryCompletionShift-F6        Toggle between the default files + directories filename completion, and directories only
DirWinOpen F6        Open the directory history popup window
EndHistory Ctrl-E        Display the last entry in the history list
EndLine End        Move the cursor to the end of the line
EraseLine Esc        Delete the entire line
ExecLine Enter        Execute or accept a line
FileBrowse F5        Display the Windows file browse dialog
FolderBrowse Alt-F5        Display the Windows folder browse dialog
FontMax Ctrl-Plus        Increase the console font size
FontMin Ctrl-Minus        Reduce the console font size
Help F1        Display the Help topic for the current command
HelpWord Ctrl-F1        Display the Help topic for the word at the cursor
HistWinOpen PgUp        Open the command history popup window
Ins Ins        Toggle insert / overstrike mode
LastHistory F3        Return the last history entry
Left Left        Move the cursor left one character on the input line
LFNToggle Ctrl-A        Toggle tab completion between long filename and short filename modes on LFN drives
LineToEnd Ctrl-Enter        Copy the current command line to the end of the history list, then execute it
MoveConsoleDown Alt-Win-Down        Move the console window down
MoveConsoleUp Alt-Win-Up        Move the console window up
MoveConsoleLeft Alt-Win-Left        Move the console window left
MoveConsoleRight Alt-Win-Right        Move the console window right
NextDirHistory Shift-PgDn        Get the next directory from the directory history
NextFile Tab or F9        Get the next matching filename during tab completion
NextHistory Down        Get the next command from the command history
OriginalFile Alt-F9        Restore the original filename
ParentDirectory Ctrl-Shift-Up        Change to the parent directory
Paste Ctrl-V or Shift-Ins        Paste line from clipboard
PATHCompletionCtrl-F6        Toggle between completing files found in the local directory, and completing them in the local directory + all of the directories in PATH
PopFileF7 or Ctrl-Tab        Open the tab completion window
PrevArgument Ctrl-B        Recall the last argument from the previous command line
PrevFile F8 or Shift-Tab        Get the previous matching filename
PrevDirHistory Shift-PgUp        Get the previous directory from the directory history
PrevHistory Up        Get the previous command from the command history
PrintHistory Ctrl-P        Print the command history
Redo Alt-Y        Redo the last Undo
Regex Ctrl-F7        Display the regular expression analyzer dialog
RepeatFile F12        Repeat the previous matching filename
Right Right        Move the cursor right one character on the input line
SaveHistory Ctrl-K        Save the command line in the command history list without executing it
SelectFromHome Shift-Home        Mark from the beginning of the line to the cursor
SelectLeft Shift-Left        Add the character on the left to the selection
SelectRight Shift-Right        Add the character on the right to the selection
SelectToEnd Shift-End        Mark from the cursor to the end of the line
SelectWordLeft Ctrl-Shift-Left        Add the word on the left to the selection)
SelectWordRight Ctrl-Shift-Right        Add the word on the right to the selection
SingleStep Ctrl-F5        Toggle batch debugger single-stepping
Undo Alt-Z        Undo the last edit
VariableExpand Ctrl-X        Expand variables on the entire command line
VariableExpandWordCtrl-Shift-X        Expand variables for the current word
WordLeft Ctrl-Left        Move the cursor left one word
WordRight Ctrl-Right        Move the cursor right one word