Unryu: Keyboard Shortcuts

Every key Unryu answers out of the box, grouped by menu and by part of the window, and how to change them. Help > Keyboard Shortcuts shows the main keys inside Unryu, in the Details panel, with your own changes at the end. It leaves out F1, the Build keys and the keys of the terminal and the dialogs; this page has them all.

Where a key goes

Most of Unryu's shortcuts work wherever the keyboard is in the main window: in the editor, in the sidebar, in the Details panel or on a toolbar button. You do not have to click in the text first. The exceptions are Ctrl+Z, Ctrl+Y, Ctrl+Shift+Z, Ctrl+X, Ctrl+C, Ctrl+V and Ctrl+A: they belong to the editor and work only while it has the keyboard (the Edit menu items work anywhere). A few places take the keys for themselves, too, and it helps to know the order in which a key press is handled:

Key press from the keyboard A modal dialog Preferences, a question ... A toolbar field search, Go to Line: while it has the keys Completion the list, while it is open Terminal while it has the keyboard: all keys Find dialogs Find, Replace, Find in Files Markdown editor formatted text: its own keys Your keys Preferences > Keybindings Built-in keys the tables on this page Menu bar Alt + a letter Editor typing, moving Each step either uses the key, and it stops there, or passes it on to the next step.
What happens to a key press, from the top row left to right, then the bottom row right to left. A step that uses the key stops it; otherwise the key goes on to the next step.

Each menu item shows its key at the right, and the menus show your own keys once you change them. When a key in the tables below does nothing, check whether one of the places above has the keyboard.

File

KeysMenu itemWhat it does
Ctrl+NFile > NewA new, empty document in a new tab.
Ctrl+OFile > Open...Opens files with the file dialog.
Ctrl+Shift+OFile > Open Selected FileOpens the file named by the selection, or by the file name at the cursor.
Ctrl+SFile > SaveSaves the document (asks for a name if it has none).
Ctrl+Shift+SFile > Save AllSaves every document that has unsaved changes.
Ctrl+RFile > ReloadReads the file from disk again. It asks first when there are unsaved changes.
Ctrl+PFile > Print...Prints the document.
Ctrl+WFile > CloseCloses the document. It asks first when there are unsaved changes.
Ctrl+Shift+WFile > Close AllCloses every document, asking about each unsaved one.
Ctrl+QFile > QuitQuits Unryu, asking first about anything unsaved.

File > New (with Template), Recent Files, Recent Projects, Workbench, Save As..., Reload As, Properties, Page Setup and Close Other Documents have no key at first. Save As, Properties, Page Setup and Close Other Documents can be given one in Preferences > Keybindings. See Files and Recovery for what each command does.

Edit

KeysWhat it does
Ctrl+ZUndo (Edit > Undo).
Ctrl+Y, Ctrl+Shift+ZRedo (Edit > Redo).
Ctrl+XCut the selection (Edit > Cut).
Ctrl+CCopy the selection (Edit > Copy).
Ctrl+VPaste (Edit > Paste).
Middle clickPaste the primary selection (the text selected last, in any program) where you click.
Ctrl+ASelect all the text (Edit > Select All).
Ctrl+Alt+POpen Preferences (Edit > Preferences).
Shift+Alt+DInsert the date at the cursor. It uses your custom date format (Edit > Insert Date > Set Custom Date Format) when you have set one, and otherwise the form dd.mm.yyyy.

Edit > Delete and Edit > Insert Alternative White Space (a non-breaking space) have no key at first, but can be given one. The other items of Insert Comments, Insert Date and Insert "include <...>" are chosen from the menu.

Editing commands

These are the items of Edit > Commands and Edit > Format that have keys. Each command is one change, so one Undo takes it back. See Editing for the details of each.

KeysWhat it does
Ctrl+DDuplicate the line, or the selection.
Ctrl+KDelete the current line, or every line the selection touches.
Ctrl+Shift+XCut the current line(s).
Ctrl+Shift+CCopy the current line(s).
Ctrl+Shift+DeleteDelete from the cursor to the end of the line.
Ctrl+Shift+BackSpaceDelete from the start of the line to the cursor.
Alt+Page Up, Alt+Page DownMove the current line(s) up or down.
Shift+Alt+WSelect the word at the cursor.
Shift+Alt+LSelect the current line(s).
Shift+Alt+PSelect the current paragraph.
Ctrl+EToggle line commentation: comment the line(s), or uncomment them if they are comments.
Ctrl+IIncrease the indentation of the line(s).
Ctrl+UDecrease the indentation of the line(s).
Ctrl+JReflow the lines, or the block, to the long-line column.
Ctrl+Alt+UChanges the case of the selection (or of the word at the cursor): all in lower case if it has any capital, otherwise all in capitals.
Ctrl+Shift+LScroll so that the cursor's line is in the middle of the view.
Alt+Up, Alt+DownScroll the view up or down by one line; the cursor stays where it is. While comparing they are Compare > Previous Change and Next Change instead.

Join Lines, Comment Line(s), Uncomment Line(s), Smart Line Indent, Send Selection to Terminal and the Send Selection to items have no keys. These keys are fixed: they cannot be changed in Preferences > Keybindings.

Moving and typing in the editor

KeysWhat it does
Left, Right, Up, DownMove the cursor. Over a folded block, Left and Right step over the hidden lines. With line wrapping on, Up and Down move by screen row.
HomeTo the start of the line. With "Smart" home key on (Preferences > Editor > Features), Home goes to the first character of the line that is not white space; pressed there, it goes to the very start of the line.
EndTo the end of the line.
Ctrl+Home, Ctrl+EndTo the start or the end of the document.
Page Up, Page DownUp or down by one screen.
Shift with the arrows, Home, End, Ctrl+Home or Ctrl+EndExtend the selection as the cursor moves. Shift+Page Up and Shift+Page Down do not extend the selection.
EnterA new line. With auto-indentation on (Document > Auto-indentation), the new line is indented as the Auto-indent mode in Preferences > Editor > Indentation says. Inside a block comment, the comment continues on the new line when "Automatic continuation of multi-line comments" is on.
TabRight before a closing character that auto-close typed, steps out of the pair. Otherwise it expands a snippet when the word before the cursor names one; otherwise it indents the line when "Tab key indents" is on (Preferences > Editor > Indentation), or types a tab (or spaces, for a document indented with spaces). With several lines selected, it indents them all.
Shift+TabTakes one indentation step off the line(s). It types nothing when there is no indentation.
BackSpaceDeletes the character before the cursor; between an empty pair that auto-close closes, both. With "Backspace key unindents" on, inside the indentation it takes off one whole step.
DeleteDeletes the character after the cursor, or the selection.
}With auto-indentation on and the Auto-indent mode set to "Current chars" or "Match braces", when the closing brace is alone on its line, the line moves back one indentation step ("Current chars") or to the indentation of the line with its { ("Match braces").
( [ { " 'With auto-close on for that character (Preferences > Editor > Completions), the closing partner is typed too, when the new one would otherwise have no partner; with text selected, the pair goes around it. Typing the closing character right before the one auto-close typed steps over it, Tab steps out of the pair, BackSpace between an empty pair deletes both, and Enter between { and } puts the } on a line of its own (Auto-close).
>In HTML, XML and other markup files, with "XML/HTML tag auto-closing" on, typing the > of an opening tag adds its closing tag (not for empty HTML elements such as <br>).

Selecting with the mouse and the keyboard

Keys or mouseWhat it does
Double clickSelects a word.
Triple clickSelects a line.
Shift+clickExtends the selection to the place clicked.
Click in the line numbersSelects that whole line.
Drag the selectionMoves the selected text to where you drop it (unless "Disable Drag and Drop" is on). Press Ctrl during the drag, before you drop, to copy it instead.
Alt+dragA rectangular (block) selection.
Alt+Shift+arrowsMake or grow a rectangular selection from the cursor.

While a rectangular selection is active, typing writes the text on every line of it, BackSpace and Delete delete on every line, Tab inserts a tab on every line, Ctrl+C and Ctrl+X copy or cut the block, and Escape ends it. Any other key ends the block and does its usual job. Block selection does not work while Line Wrapping is on or while a block is folded.

Completion and snippets

KeysWhat it does
Ctrl+SpaceShows the completion list for the word before the cursor now, without waiting for the number of characters set in Preferences.
Up, Down, Page Up, Page DownMove through the open list.
Enter, TabTake the chosen word.
EscapeClose the list.
Tab after a snippet's nameReplaces the name with the snippet's text, when "Snippet completion" is on (Preferences > Editor > Completions). Your own snippets are in Tools > Configuration Files > snippets.conf.

Search

KeysMenu itemWhat it does
Ctrl+FSearch > Find...Opens the Find dialog.
Ctrl+G, F3Search > Find NextThe next match of the last search, with the dialog open or closed.
Ctrl+Shift+G, Shift+F3Search > Find PreviousThe previous match.
Ctrl+F3Search > More > Find Next SelectionThe next place of the selection, or of the word at the cursor, with no search options.
Ctrl+Shift+F3Search > More > Find Previous SelectionThe same, backwards.
Ctrl+HSearch > Replace...Opens the Replace dialog.
Ctrl+Shift+FSearch > Find in Files...Opens the Find in Files dialog.
Ctrl+Shift+ESearch > More > Find UsageLists every place in the project that means the name at the cursor; with a selection, every use of it in all open documents; in the Message Window.
Ctrl+Shift+DSearch > More > Find Document UsageThe same, in this document only.
Ctrl+Shift+MSearch > More > Mark AllMarks the word at the cursor everywhere in the document. Press it again with the cursor on a mark to clear the marks.
Ctrl+M(no menu item)Toggle a marker (a bookmark) on the cursor's line. A click in the markers margin does the same.
Ctrl+.Search > Go to Next MarkerTo the next line with a marker.
Ctrl+,Search > Go to Previous MarkerTo the previous line with a marker.
Ctrl+LSearch > Go to Line...Asks for a line number (or +N / -N from the current line) and goes there.

Search > Next Message, Previous Message and Clear Marks have no key at first, but can be given one. Stop Find in Files has no key, and none can be given to it. See Find and Replace.

Navigate: definitions, braces and jumps

KeysMenu itemWhat it does
Alt+LeftNavigate > BackBack to the place you jumped from. While comparing it is Compare > Copy Change to Left instead.
Alt+RightNavigate > ForwardForward again after Back. While comparing it is Compare > Copy Change to Right instead.
Ctrl+T, F12, Ctrl+clickNavigate > Go to DefinitionTo the definition of the name at the cursor (or under the pointer, for Ctrl+click). A name from a header opens that header in its own tab. On a web address in a comment or a string, it opens the address in your browser.
Ctrl+Shift+TSearch > More > Go to Symbol DeclarationTo the declaration of the name, for example a function's prototype.
Ctrl+Alt+ONavigate > Go to AnythingAny file of the project; with > any command, @ a symbol of the document, # one of the project, : a line.
Ctrl+Shift+PNavigate > Command PaletteAny command, by typing part of its name.
Ctrl+Alt+GNavigate > Go to Symbol in the ProjectAnything the project defines, in any language.
Ctrl+Alt+HNavigate > Switch Header and SourceFrom foo.c to foo.h and back, onto the function the cursor is in.
Ctrl+BNavigate > Go to PartnerTo the partner of the brace, quote, tag, block word or #if line at the cursor.
Ctrl+Alt+BNavigate > Select Inside PairSelects what is inside the pair around the cursor; again, the next pair out. Only certain pairs.
Ctrl+Alt+Shift+BNavigate > Select PairThe same, with the pair's brackets, quotes or tags.
Ctrl+Alt+DownNavigate > Next Doubtful BraceTo the next brace whose partner is not certain. At the end it starts again from the top.
Ctrl+Alt+UpNavigate > Previous Doubtful BraceThe same, upwards.
Ctrl+Shift+JNavigate > Insert Missing BraceWrites the missing brace, quote, end tag or closing word (drawn faded or flashing) at the cursor, or the next one, into the text.
Ctrl+Shift+BNavigate > Suggest Repairs (Runs the Compiler)In a C or C++ file, asks the compiler, in a sandbox, which places for a doubtful brace compile. Press it again to stop. This is the only key that runs a compiler on its own.
Ctrl+Alt+1 ... Ctrl+Alt+9(no menu item)Applies repair 1 to 9 from the list in Details, as one Undo step.

See Analysis for braces and definitions, and Safety for how the compiler is kept in a sandbox.

Documents and tabs

KeysWhat it does
Ctrl+TabTo the document you used last. Press it again quickly to go further back through the documents by last use; after a pause of 1.2 seconds, the one you reached counts as the latest. Ctrl+Shift+Tab does the same (it does not go the other way).
Ctrl+Page Up, Ctrl+Page DownTo the tab on the left or on the right. At the ends it wraps around.
Ctrl+Shift+Page Up, Ctrl+Shift+Page DownMoves the current tab one place to the left or to the right (it wraps around too). You can also drag a tab.

View

KeysMenu itemWhat it does
F11View > FullscreenThe window fills the screen, or comes back.
F10View > Show MenubarHides or shows the menu bar. When the menu bar is hidden, this key is the way to get it back.
Ctrl++, Ctrl+=, Ctrl with the keypad's +View > Zoom InLarger editor text.
Ctrl+-, Ctrl with the keypad's -View > Zoom OutSmaller editor text.
Ctrl+0, Ctrl with the keypad's 0View > Normal SizeThe editor text at its normal size.
Ctrl+mouse wheelZooms the editor in or out. Over the documentation popup, it changes the popup's text size.
Ctrl+middle clickNormal size again, in the editor or the documentation popup.

Every Show item of the View menu (Markers Margin, Line Numbers, White Space, Line Endings, Indentation Guides, Message Window, Toolbar, Sidebar, Details), Toggle All Additional Widgets and Reset Layout can be given a key in Preferences > Keybindings. Change Font, Change Color Scheme, Change Theme, Syntax Highlighting and Flash Missing Braces are chosen from the menu. See The Window.

Document

The Document menu has no keys at first. Line Wrapping, Line Breaking, Read Only, Clone, Strip Trailing Spaces, Replace Tabs with Spaces, Fold All, Unfold All, Remove Markers and Remove Error Indicators can be given keys in Preferences > Keybindings. Click the fold marker in the fold margin to fold or unfold one block.

Build

The Build menu shows the build commands for the document's language (see Build and Run). Each key runs the command in that place of the menu, whatever its label is.

KeysCommand (its usual label)
F8The language's first command (Compile).
F9The language's second command (Build).
Shift+F9The first independent command (none until you set one).
Ctrl+Shift+F9The second independent command.
Shift+F8The third independent command.
F5Execute. While the program it started is still running, the item reads Stop and F5 stops it.

While a build runs, its own row reads Stop, and its key stops it: F9 again stops a Build that runs, for example.

The language's third command (Lint), the fourth independent command, Next Error, Previous Error and Set Build Commands have no key at first, but can be given one. Every build command needs the document to be saved first, because the commands use the file's name.

Tools and Help

KeysMenu itemWhat it does
F1Help > HelpOpens this manual in your web browser (the browser set in Preferences > Tools, or the desktop's default).

Tools > Reload Configuration, Color Chooser and Word Count, and Help > Keyboard Shortcuts and Debug Messages can be given keys. The other items of the Tools and Help menus are chosen from the menu.

Using the menus with the keyboard

KeysWhat it does
Alt+F, Alt+E, Alt+S, Alt+N, Alt+V, Alt+D, Alt+B, Alt+T, Alt+HOpen the File, Edit, Search, Navigate, View, Document, Build, Tools or Help menu: Alt and the first letter of its title.
Up, DownMove through the open menu (greyed items are skipped).
Left, RightTo the menu beside it.
EnterChoose the item. A check item changes and the menu stays open. On an item with a flyout, opens the flyout.
A letterChooses at once the first item whose label starts with that letter. If that item has a flyout, the flyout opens instead.
EscapeCloses the menu.

The flyouts (Edit > Commands, Format and Insert Date, Search > More, File > Recent Files, Tools > Configuration Files ...) open with the mouse, or with Enter or their letter. A flyout opened from the keyboard starts with its first item highlighted: Up and Down move in it, and Enter or a letter chooses. Left and Right always go to the menu beside, and Escape closes the whole menu.

Panels and lists

WhereKeys
The sidebar's lists (Outline, Documents, Files)Up and Down move through the rows, Home and End go to the first and last row, Left closes a group or folder and Right opens it. In the Outline, the editor shows each symbol as you move to it, and the keyboard stays in the Outline. In the Documents list, the row you move to is shown at once and the keyboard goes back to the editor. In the Files list, Enter (or a double click) opens the file.
The toolbar's search fieldEnter finds the next match; Escape gives the keyboard back to the editor.
The toolbar's Go to Line fieldEnter goes to the line; Escape gives the keyboard back to the editor.
The document tabsA click on a tab shows that document and gives the keyboard back to the text. With "Double-clicking hides all additional widgets" on (Preferences > Interface), a double click on a tab hides or shows the panels. A double click on the empty part of the row, beside the tabs, opens a new document. Drag a tab to move it: it follows the pointer, and a gap shows where it will drop.

Markdown documents

A Markdown document opens in a formatted editor. There, these keys belong to the formatted editor and not to Unryu:

KeysWhat it does
Ctrl+B, Ctrl+I, Ctrl+UBold, italic, underline for the selection.
Ctrl+Z, Ctrl+Y or Ctrl+Shift+ZUndo and Redo in the formatted text.
Ctrl+X, Ctrl+C, Ctrl+V, Ctrl+ACut, copy, paste, select all.
Arrows, Home, End, BackSpace, Delete, EnterAs in any editor. Home and End go to the start and end of the screen row.
Page Up, Page DownMove the cursor and the view by a screen. With Shift they select.
TabTypes a tab, except in a table cell (below).

Ctrl and Ctrl+Shift with B, I, U, Z, Y, X, C, V or A, and Ctrl with the arrows, Home, End, BackSpace, Delete or Insert, also belong to the formatted editor: Ctrl+Shift+Z redoes there, Ctrl+Shift+B makes the text bold, and Ctrl+Home and Ctrl+End only go to the ends of the screen row. Every other Ctrl key, every Alt key, the function keys and Escape still go to Unryu, so Ctrl+S, Ctrl+O, F1 and the menus work as usual.

Because of this, Go to Partner, the indent keys, Suggest Repairs (Ctrl+Shift+B), Cut and Copy Line(s), and Ctrl+Shift+Delete and Ctrl+Shift+BackSpace are not available there. With the Plain Text button of the Markdown toolbar pressed, the document shows its source in the normal editor and every key on this page works as usual.

Inside a table cell: Tab and Shift+Tab go to the next and the previous cell, Enter goes to the cell below, the arrows move through the cells (and out of the table at its edges), and Home and End go to the start and end of the cell. Ctrl+B, Ctrl+I and Ctrl+U (and the formatting toolbar's text styles) format the selected text of the cells, as in the rest of the document.

The terminal

While the Terminal tab of the Message Window has the keyboard, keys go to your shell. The function keys, Ctrl keys and Alt keys all reach the program in the terminal; Alt and a key always goes to the program. These keys belong to the terminal itself:

KeysWhat it does
Ctrl+Shift+CCopy the selection.
Ctrl+Shift+VPaste the clipboard.
Shift+Insert, middle clickPaste the primary selection (the text selected last anywhere).
Ctrl+Shift+FSearch in the terminal's text and its scrollback. Type the text; Enter goes to the match above, Shift+Enter to the match below, Alt+C makes upper and lower case count, Alt+R treats the text as a pattern, BackSpace deletes a character, and Escape or Ctrl+Shift+F again ends the search.
Shift+Page Up, Shift+Page DownScroll back through earlier output, a page at a time.
Ctrl+Shift+Up, Ctrl+Shift+DownJump to the prompt above or below (with shell integration).
Ctrl+Shift+OPuts a letter on each link and file name in view; press the letter to open it. Any other key cancels.
Ctrl+Shift+SpaceSelect text with the keyboard (see below).
Ctrl++ (or Ctrl+=, or Ctrl with the keypad's +), Ctrl+- (or the keypad's -), Ctrl+0Larger, smaller and normal text size in the terminal, unless the running program turned on modifyOtherKeys.
Ctrl+BreakSends the terminal's answerback message.
Enter, EscapeWhen the terminal asks before pasting several lines into a program that could run them, Enter pastes and Escape cancels.

Selecting with the keyboard (after Ctrl+Shift+Space): a cursor of its own starts at the terminal's cursor. h j k l or the arrows move it, w and b go a word forward or back, 0 or Home to the start of the line, $ or End to its last character, g and G to the top and the bottom, and Page Up and Page Down by a page. v starts (or ends) a selection by characters, V one by whole lines. y or Enter copies the selection and ends the mode; Escape or q ends it without copying.

With the mouse: the wheel scrolls back through the output; Ctrl+click on a file name opens the file in the editor at the line and column after the name, and on an address opens the browser; Ctrl+drag selects a rectangle; hold Shift to select text even when the program in the terminal uses the mouse; the right button opens the terminal's menu (Copy, Copy as HTML, Paste, Select All, Find..., Open Link, Copy Link, Copy Command Output, Hide or Show Command Output, Larger Text, Smaller Text, Normal Text Size, Clear Scrollback, Reset Terminal). When the program in the terminal uses the mouse, hold Shift for the menu, the middle-click paste, the wheel and selecting. A click on a prompt's mark in the margin selects that command's output; a double click hides or shows it. In a full-screen program the wheel sends the Up and Down keys to the program instead of scrolling.

Keys in dialogs

In most dialogs, Enter presses the default button (the one drawn marked) and Escape closes the dialog without doing anything, the same as Cancel or closing its window. A question with several answers closes the same way on Escape, without choosing any of its buttons. Preferences is the exception for Enter: there Enter does nothing unless a button has the keyboard, so press OK or Apply.

Find and Replace

KeysWhat it does
EnterFind: Next. Replace: Find, or Replace & Find when the keyboard is in "Replace with".
Shift+EnterFind: Previous.
F3, Shift+F3Next and previous match.
Ctrl+F, Ctrl+HSwitch the dialog to Find or to Replace.
TabIn Replace, between "Search for" and "Replace with".
Alt+DownOpens the history of the field with the keyboard.
EscapeCloses the dialog.

Alt and the underlined letter works each control:

ControlFindReplace
Search for (the field)Alt+SAlt+S
Replace with (the field)Alt+H
Use regular expressionsAlt+UAlt+U
Use multi-line matchingAlt+GAlt+G
Use escape sequencesAlt+EAlt+E
Search backwardsAlt+B
Case sensitiveAlt+AAlt+A
Match only a whole wordAlt+WAlt+W
Match from start of wordAlt+TAlt+T
Previous / Find (button)Alt+P (Previous)Alt+F (Find)
Next / Replace & Find (button)Alt+N (Next)Alt+N (Replace & Find)
Replace (button)Alt+R
Open or close Find All / Replace AllAlt+FAlt+P

While Find All or Replace All is open: Alt+D Close dialog, Alt+M Mark (Find only), Alt+O In Session, Alt+I In Document and Alt+L In Selection (Replace only).

Find in Files

KeysWhat it does
EnterFind.
Tab, Shift+TabThrough the text fields: Search for, File patterns (only when the files choice is custom), Directory.
Alt+S, Alt+P, Alt+DTo the Search for, File patterns (only when the files choice is custom) or Directory field.
Alt+U, Alt+I, Alt+R, Alt+A, Alt+WUse regular expressions, Invert search results, Recurse in subfolders, Case sensitive, Match only a whole word.
Alt+DownOpens the history of the field with the keyboard.
Alt+NOpens the Encoding list. In it: Up, Down, Home and End move, Enter takes the encoding, Escape closes the list.
EscapeCloses the dialog.

The file dialog (Open, Save As)

KeysWhat it does
Up, Down, Home, End, Page Up, Page DownMove through the list of files.
EnterOpens the selected folder, or accepts the selected file.
Ctrl+LType a path. Enter goes to that folder (or, in Open, opens that file), Escape stops typing, Ctrl+A selects the whole path.
Ctrl+HShows or hides hidden files.
Ctrl+Shift+NA new folder: type its name, Enter makes it, Escape stops.
EscapeCancels the dialog.

Lists of choices (Change Color Scheme, Change Theme, Set Filetype)

Up, Down, Home and End move through the list, and each choice is used at once. Enter, Escape or Alt+C closes the list.

Preferences

Escape is Cancel: it closes the dialog and undoes what Apply did. It works only while no field or button has the keyboard; otherwise press Cancel. While you set a new key on the Keybindings page, the next key you press is the new shortcut (see below).

Changing the keys

Open Edit > Preferences (Ctrl+Alt+P) and choose the Keybindings page.

  1. The list shows each action as "Group: Action = keys", or "(none)" when it has no keys. Type in the Filter field to shorten the list; it matches the group, the action's name and its keys.
  2. Select an action and press Change, double-click it, or press Enter in the list.
  3. The line under the button asks you to press the new shortcut. Press it, with its Ctrl, Shift and Alt. BackSpace on its own takes all keys away from the action, and Escape keeps the keys it has. Escape, with or without Ctrl, Shift or Alt, can never be given to an action.
  4. Press Apply or OK. The new keys work at once, and the menus show them.

Rules to know:

The keybindings.conf file

Your changes are kept in ~/.config/unryu/keybindings.conf (or under $XDG_CONFIG_HOME/unryu). It holds only the actions whose keys differ from the defaults, one per line:

# Unryu's keybindings: the actions whose keys the user changed (Preferences > Keybindings); empty: no keys.
File: Save As = Ctrl+Shift+A
View: Show Sidebar = Ctrl+Alt+S
File: Close = 

The name before "=" is the group and the action exactly as the Keybindings list shows them. After "=" come the modifiers Ctrl (or Control), Shift and Alt, each followed by +, and then one X key name. The modifiers and a single letter may be in either case, but other key names must be written exactly as X spells them: a letter or digit, F1 ... F12, Left, Up, Prior (Page Up), Next (Page Down), space, period, comma, equal, minus, Tab and so on. Nothing after "=" means the action has no keys (in the example, File > Close has lost Ctrl+W). The Keybindings page shows keys by these names too, for example Ctrl+Prior for Ctrl+Page Up and Ctrl+period for Ctrl+. To edit the file inside Unryu, choose Tools > Configuration Files > keybindings.conf, save it, then choose Tools > Reload Configuration. Pressing Apply or OK in Preferences writes the file again from the Keybindings page, so do not keep Preferences open while you edit the file.

Every action that can have keys

This is the full list of the Keybindings page, with each action's keys at first. An empty cell means the action has no key until you give it one.

GroupActionKeys at first
FileNewCtrl+N
FileOpenCtrl+O
FileOpen Selected FileCtrl+Shift+O
FileSaveCtrl+S
FileSave As
FileSave AllCtrl+Shift+S
FileReloadCtrl+R
FileProperties
FilePage Setup
FilePrintCtrl+P
FileCloseCtrl+W
FileClose Other Documents
FileClose AllCtrl+Shift+W
FileQuitCtrl+Q
EditUndoCtrl+Z
EditRedoCtrl+Y
EditCutCtrl+X
EditCopyCtrl+C
EditPasteCtrl+V
EditDelete
EditSelect AllCtrl+A
EditInsert Alternative White Space
EditInsert Placeholder Text
EditInsert Unicode CharacterCtrl+Shift+U
EditPreferencesCtrl+Alt+P
EditComplete wordCtrl+Space
CommandsSort Lines; Sort Lines, Ignore Case; Sort Lines, Natural Order; Sort Lines and Remove Duplicates; Remove Duplicate Lines; Remove Empty Linesnone
FormatShift Column Leftnone
FormatEnclose 1 to Enclose 8 (the pairs of Edit > Format > Enclose Selection)none
FormatShift Column Rightnone
SearchFindCtrl+F
SearchFind NextCtrl+G
SearchFind PreviousCtrl+Shift+G
SearchFind in FilesCtrl+Shift+F
SearchReplaceCtrl+H
SearchNext Message
SearchPrevious Message
SearchGo to Next MarkerCtrl+.
SearchGo to Previous MarkerCtrl+,
SearchToggle MarkerCtrl+M
SearchGo to LineCtrl+L
SearchClear Marks
NavigateBackAlt+Left
NavigateForwardAlt+Right
NavigateGo to Anything (files)Ctrl+Alt+O
NavigateCommand PaletteCtrl+Shift+P
NavigateGo to Symbol in the ProjectCtrl+Alt+G
NavigateSwitch Header and SourceCtrl+Alt+H
NavigateGo to PartnerCtrl+B
NavigateSelect Inside PairCtrl+Alt+B
NavigateSelect PairCtrl+Alt+Shift+B
NavigateGo to DefinitionCtrl+T
NavigateNext Doubtful BraceCtrl+Alt+Down
NavigateNext Change / Previous Change (the change bar, Git)
NavigatePrevious Doubtful BraceCtrl+Alt+Up
NavigateInsert Missing BraceCtrl+Shift+J
NavigateSuggest Repairs (compiler)Ctrl+Shift+B
ViewShow Markers Margin
ViewShow Line Numbers
ViewShow White Space
ViewShow Line Endings
ViewShow Indentation Guides
ViewFullscreenF11
ViewToggle All Additional Widgets
ViewShow Message Window
ViewShow Toolbar
ViewShow Sidebar
ViewShow Details
ViewShow MenubarF10
ViewZoom InCtrl+=
ViewZoom OutCtrl+-
ViewNormal SizeCtrl+0
ViewReset Layout
DocumentLine Wrapping
DocumentLine Breaking
DocumentRead Only
DocumentClone
DocumentStrip Trailing Spaces
DocumentReplace Tabs with Spaces
DocumentFold All
DocumentUnfold All
DocumentRemove Markers
DocumentRemove Error Indicators
NotebookSwitch to left documentCtrl+Page Up
NotebookSwitch to right documentCtrl+Page Down
NotebookSwitch to last used documentCtrl+Tab
BuildCompileF8
BuildBuildF9
BuildLint
BuildMake allShift+F9
BuildMake custom targetCtrl+Shift+F9
BuildMake objectShift+F8
BuildMake clean
BuildNext error
BuildPrevious error
BuildRunF5
BuildBuild options
ToolsReload Configuration
ToolsShow Color Chooser
ToolsWord Count
ToolsCheck Spelling
Code ToolsFormat the document with its language's formatterCtrl+Alt+F
ViewShow Minimap
DebugStart or Continue / StopCtrl+F5 / Ctrl+Shift+F5
DebugStep Over / Step Into / Step Out / Run to CursorF6 / F7 / Shift+F7 / Ctrl+F7
DebugToggle Breakpoint (also Shift+click in the markers margin)Ctrl+F9
SearchSet numbered bookmark 0 to 9 / go to itCtrl+Shift+0 ... Ctrl+Shift+9 / Ctrl+0 ... Ctrl+9 (fixed)
ToolsTranslation: Next / Previous Untranslated or Fuzzy, Toggle Fuzzy, Copy Original into Translation
CompareNext change / previous change (while comparing; else they scroll by a line)Alt+Down / Alt+Up
CompareCopy change to left / to right (while comparing; else Back and Forward)Alt+Left / Alt+Right
CompareCopy all changes to left, copy all changes to right, swap sides, stop comparing
MacrosStart or stop recordingCtrl+Alt+R
MacrosPlay last recordingCtrl+Alt+M
Code ToolsCode tool 1 to Code tool 16: the tool in that row of Preferences > Tools > Code tools
HelpHelpF1
HelpLook Up DocumentationShift+F1
HelpKeyboard Shortcuts
HelpDebug Messages

In the Build group, Run is Execute (F5), and Build options opens Preferences on its Build page, as Build > Set Build Commands does.

Keys that changed in earlier versions

If you used an earlier version of Unryu, some of its own keys have moved to the keys that other editors, and Geany in particular, use for the same thing:

ActionOld keyKey now
Go to the partner braceCtrl+JCtrl+B
Suggest repairs (compiler)Ctrl+BCtrl+Shift+B
Insert the missing braceCtrl+GCtrl+Shift+J
Next / previous doubtful braceF8 / Shift+F8Ctrl+Alt+Down / Ctrl+Alt+Up
Apply repair 1 to 9Ctrl+1 ... Ctrl+9Ctrl+Alt+1 ... Ctrl+Alt+9
ReloadF5Ctrl+R
PreferencesCtrl+,Ctrl+Alt+P
Save All(Ctrl+Shift+S was Save As)Ctrl+Shift+S
Last used document(Ctrl+Tab was the next tab)Ctrl+Tab