Skip to content

Keyboard shortcuts ​

Ciyue's shortcuts follow the conventions of GoldenDict-ng, EBWin and EBMac: the keys you already know from other dictionaries do the same thing here.

Most of them also trigger on Android when the focus is where it needs to be. Still, the Android devices that actually use a keyboard are few — usually only UMPCs like the GPD Win Max or OneXPlayer running Waydroid, and some Android tablets and phones with a built-in keyboard. A touchscreen UMPC can run both the desktop build and the Android build inside Waydroid at the same time.

Two levels ​

The dictionary shortcuts work in two levels:

Ctrl+`  /  Ctrl+1…9      Groups: which dictionaries a lookup uses
        │
        └── Alt+0…9       Dictionaries: which result you are looking at
                            Alt+0 = AI explanation, Alt+1…9 = the first nine dictionaries
                            Alt+PgUp / Alt+PgDn = previous / next dictionary tab

Looking up ​

ShortcutAction
Ctrl+FMove the focus into the search box
Ctrl+BShow or hide the search pane, in the wide layout
EscMove the focus into the search box and select the text in it, so typing replaces the word; press it again to return to the entry
Enter on a selectionLook up the selected text (see below)
Ctrl+Enter on a selectionLook it up in a new tab, the way Ctrl+click does for a link

The wide window has two search boxes: the one in the left column and the one in the title bar of the entry. Ctrl+F and Esc go to the one you used last, so they follow you around the window instead of always landing on the left one.

While the left column is showing a headword list, ↑ / ↓ walk that list and show each word in the entry pane, so the arrow keys alone are enough to browse the matches. Enter keeps its meaning of opening what you typed.

Looking up a selection ​

Select a word or a phrase in the entry and press Enter to look it up. This is EBWin and EBMac's behaviour. On Windows and Linux a right click on a word looks it up too; macOS keeps WKWebView's own menu.

Selecting and pressing Enter beats double-clicking a single word, because in languages that do not separate words with spaces what a double-click selects is down to luck; and even in a language like English you sometimes meet compound words and phrasal verbs that a double-click cannot catch:

LanguageWord to look upA double click selects
GermanBundesbank within BundesbankdirektorBundesbankdirektor
Japanese組み合って within 組み合っている組み
Chinese鄂州 within 中华民国鄂州约法鄂 or 州
Englishthrow awaythrow or away

On Android, the long-press menu also offers the same lookup next to Copy and Read aloud; right-clicking a word selects it as well, and the menu's Query item looks up that word.

On Windows and Linux, the entry's right-click menu is drawn by Ciyue and offers Lookup, Look up in a New Tab, Copy and Read Aloud. Right-clicking a word selects it; clicking inside an existing selection keeps the whole phrase for Copy and for the lookups. macOS is unchanged: WKWebView's own menu also offers the system dictionary services.

Tabs ​

Ciyue has three kinds of tabs, and they are easy to mix up.

Word tabs ​

The browser-like tabs at the top hold one word each.

ShortcutAction
Ctrl+TOpen a new tab
Ctrl+WClose the current tab
Ctrl+TabGo to the next tab
Ctrl+Shift+TabGo to the previous tab
Ctrl+PgDn / Ctrl+PgUpGo to the next / previous tab

When the entry was opened from a word list, ← / → move to the previous / next word. This holds on the desktop too, not only in the full-screen list on mobile.

Dictionary groups ​

A group decides which dictionaries a lookup uses. The groups are listed in the menu at the top of the window, in the order they were created, and the shortcuts follow that order.

ShortcutAction
Ctrl + backquoteSwitch to the first group, the default one
Ctrl+1 … Ctrl+9Switch to the second to the tenth group

A number that names no group does nothing. After the switch, the word on screen is looked up again with the dictionaries of the new group.

Dictionary tabs ​

When the dictionary switch style is Tabs, every dictionary gets a tab in the entry. The numbers pick one of them.

ShortcutAction
Alt+1 … Alt+9Show the first to the ninth dictionary
Alt+0Show the AI explanation, when it is enabled
Alt+PgUpShow the previous dictionary tab
Alt+PgDnShow the next dictionary tab

Stepping wraps around at either end, the way word tabs do with Ctrl+Tab. The AI tab is part of the cycle when the explanation is enabled, and stepping reaches dictionaries past the ninth, which the number keys cannot name.

In the Expansion style there are no such tabs, and these keys do nothing at all.

Reading ​

ShortcutAction
Ctrl+RRead the word aloud — or stop it when it is already playing
Ctrl+Shift+SStop the playback
Alt+↑ / Alt+↓Pick the previous / next entry in the history
Alt+← / Alt+→Go back / forward through the history of the entry
PgDn / PgUpPage through the entry, in the expansion layout

Zooming the entry ​

ShortcutAction
Ctrl+= / Ctrl++Enlarge the entry
Ctrl+-Shrink the entry
Ctrl+0Back to the normal size

Only the entry is scaled, the rest of the window keeps its size. The level is remembered between restarts, and Appearance has a slider for it.

Ctrl+= and Ctrl++ are the same key on most keyboards; both are bound, so either works.

Other pages ​

ShortcutActionWhere
Ctrl+EnterTranslate the textTranslation
Ctrl+EnterCheck the textWriting Check
SpaceShow the answerFlashcards
1 … 4Rate the cardFlashcards

Global hotkey ​

The desktop build can bind Ctrl+Shift+M under Settings → Other → Global Shortcut: it minimizes the window while it is in front, and restores and focuses it when it is minimized or hidden.

The switch is off by default, so Ciyue never grabs a system-wide key on its own. It is only available on Windows, macOS and Linux X11 sessions:

  • On Wayland the compositor does not let an app read whether it is minimized, nor restore its own minimized window, so the switch is greyed out and unavailable. Use the desktop's own shortcut instead: in KDE, for example, bind a key to a window rule or to Activate Window and let KWin do the minimizing and restoring.
  • If another program already owns the key, Ciyue reports the failed registration and leaves the switch off.

Mouse gestures ​

Two mouse gestures switch tabs while reading an entry. Settings → Other lets each gesture be assigned its own action: off, switch dictionary tabs, or switch word tabs.

GestureHowDefault action
RockerHold left, click right for next or middle for previousNext / previous dictionary tab (wraps)
WheelHold the left button and scroll up / downPrevious / next word tab

Both gestures start by holding the left button: clicking the right or middle one is a rocker, scrolling is a wheel gesture, and the two do not conflict. The left button is the press-and-hold key so that a rocker and a wheel gesture can share it without ambiguity.

Rocker is bidirectional too: the right button steps forward, the middle button steps back, and dictionary tabs wrap around. The wheel gesture is also bidirectional, which suits moving back and forth through a longer list of word tabs.

In the Expansion style there are no dictionary tabs, so that action falls back to switching word tabs instead of doing nothing.

  • Works on Windows, Linux, macOS, and Android with a real mouse (for example inside Waydroid); the on-screen touch has no right or middle button.
  • Only a right or middle click while the left button is held counts as a rocker, and it does not open a menu. An ordinary right click opens Ciyue's own menu on Windows and Linux, and the system menu on macOS. On macOS Ctrl+left click is a system-level right click and is excluded from the gesture.
  • Wheel events are throttled so one physical scroll does not jump several tabs, and the page's own scrolling is stopped while the left button is held.
  • The click that follows a gesture is swallowed, so it cannot open a dictionary link by accident.

Notes ​

  • The group and dictionary tab shortcuts only act while an entry is on screen.
  • On a keyboard where the window manager takes Alt+a number, the dictionary tabs cannot be reached that way.
  • Ctrl+PgUp and Ctrl+PgDn change the word tab, while Alt+PgUp and Alt+PgDn change the dictionary tab; the same keys without a modifier scroll the entry in the expansion layout.
  • Shortcuts with a modifier also fire while the entry's native WebView holds the focus, regardless of which control is focused. Bare PgUp / PgDn still belong to the entry's scrolling and to text fields.
  • History navigation uses only Alt+↑ / ↓: macOS Mission Control takes Ctrl+↑ / ↓, while window tiling on KDE, GNOME and Windows takes Super / Win+↑ / ↓. Alt is the pair every mainstream desktop leaves free. Inside a macOS text field Option+↑ / ↓ moves to the paragraph start / end, so Ciyue yields to the field while it has the focus.
  • On the desktop layout the arrow keys move the keyboard focus between controls; Enter or Space activates the focused one. While the left column shows a headword list, ↑ / ↓ walk that list instead.

Released under the MIT License.