# Keyboard shortcuts

> Almost everything in Skwir has a shortcut. These are the defaults; you can change any of them.

Page: https://skwir.org/docs/keyboard-shortcuts

> **Tip:** F1 lists the keys that work where you are, by topic, the nearest first. Type to narrow it, by what an action does (`rename`) or by its keys (`ctrl t`), and to find what the other places’ keys do too. The command palette (Ctrl+Shift+P) lists every action by name, with its keys.

## The essentials

| Keys | What it does |
| --- | --- |
| Space | Quick look at the selected file (press again to close) |
| F11 or Ctrl+Shift+Space | Show or hide the preview (Ctrl+Shift+Space works on layouts where Shift and Space type another space, such as Ergo-L and bépo) |
| Alt+Enter or Ctrl+I | Show or hide Properties: the selected file’s size, dates, tags and what it says about itself |
| Ctrl+Z | Undo the last change |
| Ctrl+Shift+Z or Ctrl+Y | Redo |
| Ctrl+Alt+Z | The undo history, each action with its own Undo |
| Ctrl+Shift+J | Activity: what runs, what waits, and what failed, with the keyboard there; again folds it, and Esc gives the keyboard back |
| Ctrl+P | Print the selection, or what the pane lists |
| Ctrl+Shift+P | Command palette |
| Ctrl+, | Settings |
| F1 or Ctrl+? | List of shortcuts (F1 in the address, Rename Several’s fields, Properties’ Access or Exclusions’ fields: what the field takes) |
| Ctrl+Q | Quit |

Held down, a key repeats only what moves (the arrows, Page Down); a key that acts, such as Delete, acts once.

Shortcuts work on non-Latin keyboard layouts too. On a Russian, Greek, Arabic, Hebrew, Persian or Devanagari one, a shortcut acts as its keys would on your Latin layout, or on a US keyboard; AZERTY’s and Persian’s digit rows give their digits. Keys are named in the window’s language (*Entrée* and *Maj+F4* in French), and F1 and *Settings › Keyboard* find them by those names. In a text field, Ctrl and the arrows, Ctrl+Backspace and Ctrl+Delete go a word at a time in every script; a double click selects a word, a triple click all of it.

## Moving around

| Keys | What it does |
| --- | --- |
| Enter | Open the selected folder or file |
| Backspace or Alt+↑ | Go up to the parent folder |
| Alt+← or Alt+→ | Back and forward |
| Alt+Home | Go to your home folder |
| Ctrl+L | Type a location in the address bar |
| Ctrl+Shift+F | Filter the folder shown as you type |
| Ctrl+F | Search the folder shown and its subfolders as you type (a search is a place you can keep) |
| Alt+Enter in the address | Search your home folder instead |
| Alt+↓ or @ in the address | Choose where the words look: the folder above, home, the whole disk, a place |
| Shift+Delete in the address | Forget the recent search highlighted |
| Ctrl+J | Jump: the address with your frequent folders first |
| Ctrl+D | Keep the folder, search or tag shown in the sidebar, with its filters |
| Alt+G | The tags of the folder shown, and back |
| Ctrl+Alt+O | Show in Folder: where a file listed in a search, a tag or the Shelf lives |
| Ctrl+H or Alt+. | Show or hide hidden files |
| F5 or Ctrl+R | Refresh |
| F9 | Show or hide the sidebar |
| F6 | Move the keyboard round the sidebar, the files and the preview. In the sidebar the arrows walk it, Enter opens a place, Esc goes back to the list |
| Esc | Clear the selection; with nothing selected, show the folder whole, without its filter or search |
| Tab in the address | Complete the folder or file name you are typing |

## Selecting

| Keys | What it does |
| --- | --- |
| arrow keys | Move the selection |
| Home or End | First or last item |
| Page Up or Page Down | One screen up or down |
| Shift + arrow keys | Extend the selection |
| Ctrl + arrow keys | Move without changing the selection |
| Ctrl+Space | Add or remove the item under the cursor |
| Ctrl+A | Select everything |
| Ctrl+Shift+I | Invert the selection |
| Enter or Space on a group’s heading | Select the group’s files (↑ and ↓ stop on each heading on the way) |
| ← or → on a group’s heading | Fold the group, or open it again |
| letters | Go to the next name that starts so, case and accents aside; the same letter again goes on to the next |

## Working with files

| Keys | What it does |
| --- | --- |
| F2 | Rename (several selected: rename them together) |
| Ctrl+F2 | Bulk rename with a live preview |
| Ctrl+C , Ctrl+X , Ctrl+V | Copy, cut and paste |
| Delete | Move to the Trash. In a tag or the Shelf it takes the file out instead; in the Trash it deletes for good, after asking |
| Shift+Delete | Delete permanently (asks first) |
| Ctrl+Shift+N | New folder |
| Shift+Enter | Open with another app |
| Ctrl+E | Edit the folder as text in your editor |
| Ctrl+Shift+B | Add to the Shelf |
| Ctrl+Shift+G | Edit tags |
| Ctrl+Shift+C or Ctrl+Alt+C | Copy the paths of the selection, one per line |
| Shift+F10 or Menu | Context menu |
| Shift, Ctrl, Ctrl+Shift while dropping | Move, copy or link without being asked |

## Views, panes, tabs and windows

| Keys | What it does |
| --- | --- |
| Ctrl+1 | List |
| Ctrl+2 | Grid |
| Ctrl+3 | Columns |
| Ctrl+4 | Usage (what takes up space) |
| Ctrl+5 | Map (where photos and tracks were taken) |
| Ctrl+Shift+L | The pane’s timeline |
| Ctrl+= or Ctrl+- | Bigger or smaller (in Usage: more or fewer levels); Ctrl and the wheel zoom the pane under the pointer |
| Ctrl+0 | Default size |
| F3 or Ctrl+Shift+D | Split into two panes |
| Shift+F3 | Split the other way |
| Tab | Switch between the two panes |
| Shift+F5 or Shift+F6 | Copy or move the selection to the other pane |
| Ctrl+T | New tab |
| Ctrl+W | Close tab |
| Ctrl+Shift+T | Reopen the tab or the window you closed |
| Ctrl+Tab or Ctrl+Shift+Tab | Next or previous tab (also Ctrl+Page Down and Ctrl+Page Up) |
| Ctrl+Shift+Page Up or Ctrl+Shift+Page Down | Move the tab left or right |
| Alt+1 … Alt+8 | Go to a tab (Alt+9: the last one) |
| Ctrl+Enter | Open the selection in a new tab |
| Ctrl+N | New window, on the folder shown |
| Ctrl+Shift+W | Close the window |
| F4 | Show or hide the built-in terminal |
| Shift+F4 | Open your terminal here |
| Ctrl+Shift+Enter | Type the selection’s paths at the built-in terminal’s prompt |

## The timeline

F6 takes the keyboard to the timeline’s strip.

| Keys | What it does |
| --- | --- |
| ← or → | Previous or next bar |
| Shift + arrow keys | Choose several bars |
| Home or End | First or last bar |
| Page Up or Page Down | Move along by a strip of bars |
| Enter | Show only the files of the bars chosen |
| Esc | Back to the files |

## In previews

### Quick look

| Keys | What it does |
| --- | --- |
| ← ↑ or → ↓ | Previous or next file |
| Space or Esc | Close |
| Space held, in the list | Look until you let go |

### Any preview

| Keys | What it does |
| --- | --- |
| Ctrl + the wheel | Zoom in or out around the pointer |
| arrow keys, once you click in it | Scroll, sideways too when it is wider than the panel; else turn the page |
| the wheel | Scroll 120 pixels a notch; turn a page read a page at a time, or a screen of text read a screen at a time |
| F | Full screen, or back (pictures, documents, text, films) |
| Ctrl+F | Find: every match is marked |
| F3 or Shift+F3 | Next or previous match |

### Full screen

| Keys | What it does |
| --- | --- |
| ← or → | Previous or next picture, page or section |
| ↑ or ↓ | Scroll; a page read one at a time turns at its edge |
| Space | Play or pause the slideshow (pictures) |
| C | Show or hide the bar |
| F or Esc | Back to the panel |

### Documents and books

Click the page first so the reader has the keyboard.

| Keys | What it does |
| --- | --- |
| Page Up or Page Down | Previous or next page, or screen of text when *Continuous scrolling* is off |
| Alt+Page Up or Alt+Page Down | Previous or next page, chapter or section, from anywhere |
| [ or ] | Previous or next page or section |
| Ctrl+F | Find in the document (Enter searches) |
| F3 or Shift+F3 | Next or previous match |
| Ctrl+A | Select the page’s text |
| Ctrl+C | Copy |
| Ctrl+= or Ctrl+- | Zoom in or out (also pictures, maps and text) |
| H | Drag to move the page: a drag across its text moves the page rather than select it; pressed again, it selects |
| Ctrl+Shift+O | Label the links in view in a text preview or the terminal, to follow one from the keyboard |
| Ctrl + click | Follow a web address or a path found in plain text or in the terminal |

### Music and video

When the player has the keyboard. The small player that keeps playing while you browse answers to the same keys, and to your keyboard’s media keys.

| Keys | What it does |
| --- | --- |
| Space | Play or pause |
| ← or → | Back or forward 5 seconds |
| Shift+← or Shift+→ | Previous or next track |
| ↑ or ↓ | Volume up or down |
| M | Mute |
| F | Full screen |

### 3D models

Drag to turn a model, Shift+drag or the middle button to move it, the wheel to zoom. Once you click it:

| Keys | What it does |
| --- | --- |
| arrow keys | Turn it |
| Shift + arrow keys | Move it |
| Ctrl+= or Ctrl+- | Zoom in or out |
| Ctrl+0 | Show it as it opened |

### The terminal

| Keys | What it does |
| --- | --- |
| Ctrl+Shift+C or Ctrl+Shift+V | Copy or paste (Ctrl+C stays the program’s) |
| Ctrl+Shift+A | Select everything |
| Shift+Page Up or Shift+Page Down | Scroll |
| Menu | The terminal’s menu: copy, paste, clear the history |

### Dialogs, rename and review

| Keys | What it does |
| --- | --- |
| Enter or Space | Press the dialog’s focused button |
| Tab or Shift+Tab | Next or previous field in the bulk rename dialog; with what can go on listed under a field, Tab takes the first |
| Ctrl+K | The next letter case of new names, from any field |
| F1 in a field | What the field takes: placeholders, date formats, signs and recipes |
| ↑ or ↓ in Print… | Change the choice that has the keyboard (Enter prints) |
| Enter | Apply the rename, or a plan you are reviewing |
| Esc | Cancel |

### Open and Save dialogs

In another program’s dialog that Skwir answers ([Skwir for other programs](https://skwir.org/docs/settings#skwir-for-other-programs)). What the dialog leaves to your own windows (tabs, the split, the terminal, Settings) has no key there.

| Keys | What it does |
| --- | --- |
| Enter | Answer with what is chosen |
| Shift+Enter in the address | Answer with the file whose path you typed |
| Esc | Cancel the dialog, wherever the keyboard is, once a menu, a list, a question or what you typed has taken its own |
| Ctrl+Q or Ctrl+W | Cancel the dialog, and nothing else |

## Changing shortcuts

*Settings › Keyboard* lists every action with its keys, by where they work. Type in its filter what an action does or its keys (`rename`, `ctrl+t`) to narrow the list, or press the keys themselves with **Find by keys**. Click a key to change or free it, or **+** to add one, then press the keys; before you save, it says what those keys do now there. **New shortcut…** binds a command that needs a value, such as a folder to go to, and each pinned tag is a command you can give a key. **Changed by you** lists what you changed, each with a way back. Yours win over the defaults and over key schemes like Vim keys.

**All shortcuts…**, in F1’s list, opens *Settings › Keyboard* with what you typed there.

## Vim keys

Turn on the **Vim keys** plugin in *Settings › Plugins* (off by default) and the file list answers to the keys of yazi, the terminal file manager. Each is also a command in the palette.

| Keys | What they do |
| --- | --- |
| h j k l | Parent, down, up, open |
| g g · G | First item · last item |
| Ctrl+U · Ctrl+D | Half a screen up · down |
| Space | Pick the item under the cursor (and move on) |
| v · V | Select a range as you move |
| y · x · p | Copy · cut · paste |
| d · D | Trash · delete permanently |
| a · r | Create · rename |
| / ? · n N | Find forward, backward · next, previous match |
| , then a letter | Sort (,+m by date and the other yazi sorts) |
| g h · g c · g d | Go home · to config · to downloads |
| t t · 1…9 · [ ] · { } | New tab · go to tab · switch tabs · move tabs |
| ~ | Help |
| u | Undo |

While Vim keys are on, typed letters no longer jump to names. A key that starts a sequence, like g, shows what can follow. A few things differ from yazi: there are no line modes or task list, ←, → and Tab keep their Skwir meaning, f and s both search, and u undoes, as in vim. The tables above keep working.

## Screen readers

Screen readers that use AT-SPI, such as Orca, follow the file views and their tags, the sidebar, the path, fields, dialogs, menus, notifications, the timeline’s bars, the previews (a document’s page, tables, archives, maps, bytes) and the terminal. Nothing needs turning on. F6 moves between the sidebar, the files and the preview.

Support came in 0.2. It was checked through AT-SPI but not yet in daily use, and a tree’s levels are not read out yet. [Tell us](https://github.com/skwir-org/skwir/issues) what doesn’t work for you.
