Function keys
If you have used a two-pane file manager such as Midnight Commander or Total Commander, your hands already know these keys. Vektor Commander keeps the classic layout: the keys act on the active pane, and the copy and move keys always send files to the other pane.
The keys
| Key | Action | What happens |
|---|---|---|
| F2 | Rename | The name of the file under the cursor becomes editable in the list. See Rename a file. |
| F3 | Preview | Shows the file inside the pane without changing it. On a folder, it shows the folder's information. See Preview basics. |
| F4 | Edit | Opens the file in the app macOS normally uses for it. On a folder, it tells you to press Return to open the folder. See Preview basics. |
| F5 | Copy to other pane | Copies the selected files into the folder shown in the other pane, after you confirm. |
| F6 | Move or rename | Moves the selected files into the other pane's folder, or renames a file. |
| F7 | New folder | Asks for a name and creates the folder in the active pane. |
| F8 | Move to Trash | Asks you to confirm, then moves the selected files to the Trash. In a place without a Trash, such as an S3 bucket, the question says the files will be deleted permanently. |
The keys act on the selected files. When nothing is selected, they act on the file under the cursor.
There is no button bar for these keys at the bottom of the window. Instead, the file context menu shows each item's key next to it, so a right-click is a quick way to look one up.
When the keys do nothing
So that a key press can never change your files by accident, the function keys do nothing while:
- you are typing: renaming a file, naming a new folder, typing in the filter or find field, or in a Settings field;
- the terminal has the keyboard (the key goes to the program running in the shell);
- a dialog, confirmation or panel is open, such as the copy confirmation, the Diff Tool or Synchronize Directories.
As soon as you finish typing or close the dialog, the keys work again.
Function keys on a Mac keyboard
On most Mac keyboards the top row controls brightness, volume and media by default. To send F2 to F8 instead, hold the fn (Globe) key while you press the function key.
If you use the function keys a lot, you can make the top row send function keys without fn: in macOS, open System Settings ▸ Keyboard, click Keyboard Shortcuts…, choose Function Keys and turn on Use F1, F2, etc. keys as standard function keys.