DC - Shortcuts

# 2.5. Shortcuts

## Content

1. Warning regarding this page
2. Main window
3. Internal viewer
4. Internal editor
5. Configuration
  5.1. Directory Hotlist

## 1. Warning regarding this page

The following table are are just the "default" shotcut key to access internal commands of Double Commander.

Obviously, we may change them by doing `Configuration` > `Options` > `Keys` > `Hotkeys`.

You may also use the internal command cm_ConfigHotKeys

So to get the actual current shortcut keys used in our installation, it might be better to look there than checking this help page.

But at least, here are the default ones.

(back to top)

## 2. Main window

Main Window
Key | Action
--- | ---
F1 | Show program "About" information
F2 | Rename files in the same directory
F3 | 1. On file: open file for view in internal viewer (multiple files are OK too) 2. On directory: open this directory
F4 | Open file in internal editor
F5 | Copy items from source to target
F6 | Rename or move items
F7 | Create new directory
F8, Del | Delete item
F9 | Starts a terminal
Alt+F1 | Change left drive
Alt+F2 | Change right drive
Alt+F4, Alt+X | Exit
Alt+F5 | Pack selected files
Alt+F7 | Find files
Alt+F9 | Unpack all files from archive under cursor
Alt+Enter | Properties
Alt+Shift+Enter | Calculate size of all directories
Alt+Delete | Wipe file/directory
Alt+Z | Show same directory in opposite panel (Target=Source)
Shift+F2 | Set focus to command line
Shift+F4 | New file (or open existing file) in internal editor
Shift+F5 | Copy items in the same directory ("inline")
Shift+F6 | Move items in the same directory ("inline")
Shift+Enter | Execute command in terminal (choose in Options..)
Shift+Ctrl+Tab | Goto previous tab in the active panel
Ctrl+F3 | Sort by name
Ctrl+F4 | Sort by extension
Ctrl+F5 | Sort by date/time
Ctrl+F6 | Sort by size
Ctrl+7 | Invoke command line history pop up menu
Ctrl+A | Select all
Ctrl+Alt+C | Copy paths of selected items to clipboard
Ctrl+Alt+X | Copy names of selected items to clipboard
Ctrl+D | Directory hotlist
Ctrl+H | Invoke directory history drop down menu
Ctrl+L | Calculate occupied space (for selected items)
Ctrl+M | Multi rename tool
Ctrl+R | Refresh actual panel
Ctrl+ ↑ | Open selected directory at new tab
Ctrl+ ↓ | Invoke command line history pop up menu
Ctrl+ ← | Cursor in right panel, open same directory in left panel
Ctrl+ → | Cursor in left panel, open same directory in right panel
Ctrl+Enter | Append selected item to the command combo box text
Ctrl+P | Place path in command line
Ctrl+S | Quick search (see Options)
Ctrl+Shift+Enter | Like CTRL+P and Alt+Enter
Ctrl+U | Swap panels (directory in left panel swaps with directory in right panel)
Ctrl+С | Copy to clipboard
Ctrl+X | Cut to clipboard
Ctrl+V | Paste from clipboard
Ctrl+T | New tab in active panel
Ctrl+Tab | Goto next tab in the active panel
Ctrl+W | Close actual tab
Ctrl+Z | Create/edit file comment
Ctrl+PgDown | 1. Like `Enter` 2. Open directory/archive (also self extracting archives)
Ctrl+PgUp | Like backspace
Ctrl+Num + | Select all
Ctrl+Num - | Unselect all
Num + | Expand selection
Num - | Shrink selection
Num * | Invert selection
Shift+Num + | Tag all files in the current directory with the same extension as the focused file
Shift+Num - | Untag all files in the current directory with the same extension as the focused file
Tab | Switch between panels
← | Go to upper directory (if "Lynx like movement" enabled)
→ | Go to selected directory (if "Lynx like movement" enabled)
Enter | 1. Execute command line (if something is on the command line) 2. Go to selected directory/archive 3. Try to run file 4. Try to open file with associated program 5. Into archive: set properties of packed file
Insert | Select file or directory
Backspace | Goto to the upper (parent) directory
Space | 1. On file - select / deselect item 2. On directory - select / deselect item and compute space occupied in dir
alphanumeric keys | 1. Write to command line. 2. If option "Letter only" enabled - quick search in the panel.
Right mouse button | Show popup menu with configurable commands (as defined in file `doublecmd.ext`)

(back to top)

## 3. Internal Viewer

Internal Viewer
Key | Action
--- | ---
N | Next file in multiple files
P | Previous file in multiple files
Esc, Q ( or with any combination Ctrl, Shift, Alt) | Close
1 | Show as text
2 | Show as bin
3 | Show as hex
4 | Show as wrapped text
6 | Show as graphic
7 | Show using plugin

(back to top)

## 4. Internal Editor

Internal Editor
Key | Action
--- | ---
F2, Ctrl+S | Save
Esc | Quit

(back to top)

## 5. Configuration

In the configuration pages, some of them have many possible actions to be done during the configuration, that some shorcut keys are present to help us to quickly do what needs to be done.

These ones are not reconfigurable but at least there are present by default and the following table will list them.

(back to top)

## 5.1. Directory Hotlist

To help us to configure our directory hotlist, we have plenty of shortcut keys.

This allows us to remain with the focus in the bottom three boxes to enter our names and path, and still being able to move into the hotlist tree without quiting the text box.

Directory Hotlist
Key | Action
--- | ---
F2 | Will move focus on the directory hotlisty tree.
F5 | Insert a duplicate copy of the current selected entry at the current position.
F7 | Insert a submenu at the current position.
F8 | Delete the current entry at the selection position.
F9 | Insert an entry with a directory we will type at the current position.
F10 | Insert an horizontal separator line at the current position.
CTRL+F5 | Add a duplicate copy of the current selected entry below the current position.
CTRL+F7 | Insert a submenu below the current position.
CTRL+F8 | Delete the selected elements, but when a sub menu is met, will delete the submenu entry point, but all the content will not be deleted and will be move one level closer to the root.
CTRL+F9 | Insert an entry with a directory we will type below the current position.
CTRL+F10 | Insert an horizontal separator line below the current position.
SHIFT+CTRL+F8 | Delete the selected elements and if a sub menu is met, will delete the whole thing as well.
SHIFT+CLTR+ALT+F8 | Delete all the elements, no matter if selected or not.
CTRL+HOME | Will set the selection to first element of the list.
CTRL+END | Will set the selection to the last displayable entry without having to open a new branch.
CTRL+LEFT | If the current selection is sub menu entry, the branch will be closed>
CTRL+RIGHT | If the current selection is sub menu entry, the branch will be opened.
CTRL+UP | Will move the current selection above the current position.
CTRL+DOWN | Will move the current selection below the current position.
SHIFT+CTRL+P | Will allow to edit the path of the current selection to make it relative to something or many other offered options.
SHIFT+CTRL+T | Will allow to edit the path of the current selection to make it relative to something or many other offered options.
SHIFT+CTRL+V | Will erase the entries that were place in the temporary list with the command described here just after, and will paste them to the current new position.
SHIFT+CTRL+X | Will save in a temporary list the current selection ready to be removed and place somewhere else with the previous described command of this table.
UP | Will set the selection to the entry just above the current one.
DOWN | Will set the section to the entry just below the current ones.

(back to top)