Keyboard Shortcuts

Default Keymaps

Command
MacOS
Windows
Linux
File > New
Cmd+N
Ctrl+N
Ctrl+N
File > Open
Cmd+O
Ctrl+O
Ctrl+O
File > Save
Cmd+S
Ctrl+S
Ctrl+S
File > Save As
Cmd+Shift+S
Ctrl+Shift+S
Ctrl+Shift+S
File > Preferences
Cmd+,
n/a
n/a
File > Quit
Cmd+Q
Ctrl+Q
Ctrl+Q
Edit > Undo
Cmd+Z
Ctrl+Z
Ctrl+Z
Edit > Redo
Cmd+Y
Ctrl+Y
Ctrl+Y
Edit > Cut
Cmd+X
Ctrl+X
Ctrl+X
Edit > Copy
Cmd+C
Ctrl+C
Ctrl+C
Edit > Copy Diagram As Image
Cmd+Shift+C
Ctrl+Shift+C
Ctrl+Shift+C
Edit > Paste
Cmd+V
Ctrl+V
Ctrl+V
Edit > Delete
Delete
Delete
Delete
Edit > Delete from Model
Cmd+Delete
Ctrl+Delete
Ctrl+Delete
Edit > Move Up
Cmd+Shift+Up
Ctrl+Shift+Up
Ctrl+Shift+Up
Edit > Move Down
Cmd+Shift+Down
Ctrl+Shift+Down
Ctrl+Shift+Down
Edit > Select All
Cmd+A
Ctrl+A
Ctrl+A
Edit > Select In Explorer
Cmd+E
Ctrl+E
Ctrl+E
Edit > Select In Diagram
Cmd+D
Ctrl+D
Ctrl+D

Making Custom Keymaps

If you want to make custom keymaps, you can create keymap.json at the user configuration path:
  • /Users/<user>/Library/Application Support/StarUML for Mac OS.
  • C:\Users\<user>\AppData\Roaming\StarUML for Windows.
  • ~/.config/StarUML for Linux.
You can get how to edit the custom keymap file (keymap.json) at Keymaps.
Here is an example:
1
{
2
"cmdctrl-alt-1": null,
3
"cmdctrl-alt-g": "view:show-grid"
4
}
Copied!
The first entry is to release the Ctrl+Alt+1 (Cmd+Option+1 in MacOS) key binding and the second entry is to change key binding of View > Show Grid (Command ID is view:show-grid) to Ctrl+Alt+G (Cmd+Option+G in MacOS).
If you want to know all command IDs, enter the following expression at Console (Debug > Show DevTools > Console tab).
1
Object.keys(app.commands.commands)
Copied!