Home
Ctrl + K opens the command palette, which can run every command below, including the ones with no shortcut.
Backspace goes to the parent only from the file list. In a text field it deletes a character.
Shortcut Command What it does
F3 View File View the selected text file or image
F4 Edit File Edit the selected text file
Shift + F3 View As Hex Show the bytes of the selected file; in a viewer tab switch between text and bytes
F2 Rename Rename the selection
Ctrl + M Multi-Rename Rename many files by rules, with a preview
Undo Multi-Rename Put back the names from before the last multi-rename
Shift + Del Delete Move the selection to the Recycle Bin
Ctrl + C Copy Files Copy the selection
Ctrl + X Cut Files Cut the selection
Ctrl + V Paste Files Paste into this folder
Ctrl + Shift + C Copy As Path Copy the selected paths, or the folder's path when nothing is selected
Ctrl + A Select All Select every row
Num + Select By Pattern Select rows by wildcards, words or clauses
Num - Deselect By Pattern Deselect rows by wildcards, words or clauses
Num * Invert Selection Select what isn't selected
Alt + Num + Select Same Extension Add files with the current file's extension
Num / Restore Selection The selection before the last file operation
Insert Mark Row And Move Down Mark rows one at a time
Shift + F10 Show Context Menu The context menu
F5 Copy Files To Other Pane Copy the selection to the other pane
Alt + F5 Create Archive Put the selection in a new .zip, .7z or .tar
Compare Files Show the differences between two files
Ctrl + Shift + B Flat View List all files below this folder in one list
Compare And Sync Folders List what differs in the folders of two panes and make them the same
Find Duplicates Find files with the same content below this folder
Create Checksums Write a .sha256, .sha1 or .md5 file for the selection
Verify Checksums Check the files named in the selected checksum file
F6 Move Files To Other Pane Move the selection to the other pane
Ctrl + R, F5 Refresh Directory Reload this folder
Space Toggle Preview Panel Show or hide the preview
Ctrl + B Toggle Quick Access Show or hide the sidebar
Ctrl + Shift + D Toggle Disk Tree Treemap of this folder
Ctrl + + Increase UI Font Size Larger text
Ctrl + - Decrease UI Font Size Smaller text
Ctrl + 0 Reset UI Font Size Default text size
Alt + Left Go Back Previous folder
Alt + Right, Shift + Backspace Go Forward Next folder
Alt + Up, Backspace Go To Parent Directory Parent folder
Alt + Home Go To Home View Locations, places and favorites
Ctrl + L Edit Path Edit the path
Ctrl + F, / Focus Filter Box Filter the list
Ctrl + N New Window Another window
Ctrl + T New Tab Another tab
Ctrl + W Close Tab Close this tab
Tab Focus Next Pane Next split pane
Shift + Tab Focus Previous Pane Previous split pane
Ctrl + F10 Show System Menu The window menu
Ctrl + Shift + W Close Window Close this window
Ctrl + K Command Palette Run a command
New File Create a file
New Directory Create a folder
Toggle Favorite Add or remove a favorite
Clipboard History Past clipboard files and images
Show %PATH% Directories on PATH
Show Installed Programs Installed programs
Show Startup Programs Programs that run at sign-in
Show Environment Variables Environment variables
Show Registry Browse the registry
Show Processes Running processes
Show Connections Open network connections
Show Winget Winget's packages
Show Stocks Stock quotes panel
Toggle Stock Quotes Show or hide the quotes row
Toggle Status Bar Show or hide the status bar in this window
Show Tailscale Devices Your Tailscale devices
Add Online Storage Connect online storage
Authenticator One-time codes
Toggle Compact Mode Shrink to a launch field
Toggle Activity Spy The last request to online storage
Toggle Activity Log All requests to online storage
Recycle Bin Open the Recycle Bin
Split pane down Split the pane down
Split pane up Split the pane up
Split pane right Split the pane right
Split pane left Split the pane left
Take Screenshot Save a PNG of the screen
Go To Last Screenshot Select the last screenshot
Screenshots Directory Open the screenshots folder
Change Theme Choose a theme
Check for Updates Look for a newer version
About Sumatra File Manager Version and links
Relaunch Elevated Start again as administrator

Changing the keys #

Add KeyBindings to settings.txt, in %LOCALAPPDATA%\SumatraFileManager on Windows and ~/.local/share/SumatraFileManager on Linux. The file is read when the application starts.
KeyBindings [
    [
        Command = Multi-Rename
        Keys = f9,ctrl-shift-r
    ]
]
Command is the name the command palette shows. The keys replace the command’s own, and another command that had them loses them. Empty Keys leaves a command without keys. A name or a key that isn’t known is reported when the application starts.

Commands with arguments #

Some commands take an argument after their name, so that a key can do one particular thing. Such a binding adds to the command’s own keys, and the command palette doesn’t list it.
KeyBindings [
    [
        Command = kill-process-by-name chrome.exe
        Keys = ctrl-alt-k
    ]
    [
        Command = toggle-status-bar off
        Keys = ctrl-alt-b
    ]
    [
        Command = change-theme Dark
        Keys = ctrl-alt-d
    ]
    [
        Command = command-palette #
        Keys = ctrl-alt-f
    ]
]
  • kill-process-by-name: the name of a process. Ends all processes with that name right away. Without it, the name is that of the selected process.
  • change-theme: the name of a theme. Without it, the theme dialog opens.
  • command-palette: what the palette opens with, such as # for history. In settings.txt a $ is written $$.
  • toggle-preview, toggle-quick-access, toggle-compact-mode, toggle-activity-spy, toggle-activity-log, toggle-disk-tree, toggle-show-stock-quotes, toggle-status-bar: on or off. Does nothing when it already is that.
The argument can also have its name, as in state=off or name="My App.exe", which needs the quotes for a space in it.

Your own commands #

UserCommands in the same file adds commands to the command palette, with keys if you want them.
UserCommands [
    [
        Name = Open In VS Code
        Command = code %F
        Keys = ctrl-shift-e
    ]
    [
        Name = Compare With WinMerge
        Command = & 'C:\Program Files\WinMerge\WinMergeU.exe' %S
    ]
]
A command runs in the current folder, in PowerShell on Windows and sh elsewhere. These parts of it are filled in:
  • %P the current folder
  • %T the folder of the other pane
  • %F the path of the current file
  • %N the name of the current file
  • %O that name without its extension
  • %E the extension
  • %S the paths of the selected files, or of the current file
  • %% a percent sign
Each of these becomes a quoted argument, so don’t put quotes around it, and a file name can’t run as code. Output shows in a panel. If a command succeeds without output, the panel closes by itself.
User commands aren’t available in online folders.