Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 6.23 KB

key-bindings.md

File metadata and controls

99 lines (68 loc) · 6.23 KB

Key Bindings

Keybindings are an essential aspect of Dirent that significantly enhance your efficiency and speed while navigating and managing files. This section provides comprehensive information about the keybinding system in Dirent, including the base keymap options and the flexibility to customize keybindings according to your preferences.

Base Keymap Options

When you launch Dirent, you have the choice to select a base keymap style that matches your familiarity with other file management applications. You can always change this selection later in app Settings. The available options are:

  1. Default: This keymap option is designed for users accustomed to code editors and integrated development environments (IDEs). It incorporates keybindings commonly used in programming environments to streamline navigation and manipulation of files.
  2. Finder: The Finder keymap is ideal for users who are accustomed to macOS's Finder application. It offers keybindings that mirror the keyboard shortcuts commonly used in Finder for file navigation and management.
  3. Commander (Total Commander): This keymap option is tailored for users who are familiar with the keyboard shortcuts in file managers like Total Commander. It includes keybindings resembling those found in these traditional file management tools.

Accessing Keybindings Preferences

To customize keybindings, navigate to the "Settings" menu and look for a tab called "Key Bindings".

Adjusting Keybindings

To change a key binding, select the command you wish to modify and double-click or right-click. Then choose "Assign." Next, use your preferred key gesture and click "Assign" to confirm. Keep in mind that some key gestures are reserved by the system and are not allowed. If you select a key gesture that is already assigned to another command, it will be removed from the other command.

Removing Keybinding

If you want to remove a key binding from a command, right-click and choose "Remove".

Resetting Keybinding

If you want to reset a key binding for a command, right-click and choose "Reset." It will reset the key binding to the default one from the current keymap.

Resetting to Defaults

If at any point, you wish to return to the original keybindings, click the "Reset" icon on the top-right of the dialog.

Available commands

Action-Keymap Finder Commander Default
Activate left panel ⌘1 ⌘1
Activate next tab ⌥⌘→ ⌃TAB ⌥⌘→
Activate previous tab ⌥⌘← ⌃⇧TAB ⌥⌘←
Activate right panel ⌘2 ⌘2
Close tab ⌘W ⌃W ⌘W
Compress nodes ⌥F5
Copy nodes ⇧⌘C F5 F5
Create new directory ⇧⌘N F7 ⇧⌘N
Create new file ⌥⌘N ⇧F4 ⌘N
Create new tab ⌘T ⌃T ⌘T
Delete nodes ⌘⌫ F8 F8
Duplicate nodes ⌘D ⇧F5 ⇧⌘D
Extract nodes ⌥F9
Focus path input ⌘L ⌃L ⌘L
Focus volume selector ⌘K ⌃K ⌘K
Go to location ⌘J ⌃D ⌘P
Highlight first node ⌥↑ ⌥↑ ⌥↑
Highlight last node ⌥↓ ⌥↓ ⌥↓
Highlight next node
Highlight previous node
Move nodes ⌥⌘C F6 F6
Navigate to parent directory ⌘↑
Navigate to volume root ⌃</span>
Next location ⌘] ⌥→ ⌃⇧-
Open commands ⇧⌘E ⌃⇧E ⇧⌘P
Open node ⌘↓ ENTER ENTER
Open node in New Tab in Left Panel ⇧⌘← ⌃⇧← ⇧⌘←
Open node in New Tab in Right Panel ⇧⌘→ ⌃⇧→ ⇧⌘→
Open node with... ⇧⌘O
Open settings ⌃, ⌃, ⌃,
Open with default app ⌘O F4 ⌘O
Preview ⌘Y F3 F3
Previous location ⌘[ ⌥← ⌃-
Rename node ENTER ⇧F6 F2
Restore last closed tab ⇧⌘T ⌃⇧T ⇧⌘T
Search nodes ⇧⌘F ⌥F7 ⇧⌘F
Select current and all next nodes ⌥⇧↓ ⌥⇧↓ ⌥⇧↓
Select current and all previous nodes ⌥⇧↑ ⌥⇧↑ ⌥⇧↑
Select current and next node ⇧↓ ⇧↓ ⇧↓
Select current and previous node ⇧↑ ⇧↑ ⇧↑
Show node info ⌘I ⌥ENTER ⌘I
Toggle node selection SPACE SPACE SPACE
Toggle quick preview ⇧⌘P ⌃Q ⌘U
Toggle table filter ⌘F ⌃F ⌘F
Unselect all nodes ESCAPE ESCAPE ESCAPE
Zoom in ⌘= ⌘= ⌘=
Zoom out ⌘- ⌘- ⌘-
Zoom reset ⌘0 ⌘0