9. Keyboard ShortcutsΒΆ
Almost all functionality is accessible from the menu of the editor window or through keyboard shortcuts. The following shortcuts are available (On macOS use the Command key instead of Ctrl/Control).
Shortcut |
Function |
Shortcut |
Function |
Shortcut |
Function |
|---|---|---|---|---|---|
Ctrl+N |
New File |
Ctrl+Z |
Undo edit |
Ctrl+Enter |
Run Input |
Ctrl+O |
Open File |
Ctrl+Shift+Z |
Redo edit |
Ctrl+/ |
Stop Active Run |
Ctrl+Shift+F |
View Text File |
Ctrl+C |
Copy text |
Ctrl+Shift+V |
Set Variables |
Ctrl+S |
Save File |
Ctrl+X |
Cut text |
Ctrl+I |
Snapshot Image |
Ctrl+Shift+S |
Save File As |
Ctrl+V |
Paste text |
Ctrl+L |
Slide Show |
Ctrl+Q |
Quit Application |
Ctrl+A |
Select All |
Ctrl+F |
Find and Replace |
Ctrl+W |
Close Window |
TAB |
Reformat line |
Shift+TAB |
Show Completions |
Ctrl+Shift+Enter |
Run File |
Ctrl+Shift+W |
Show Variables |
Ctrl+P |
Preferences |
Ctrl+Shift+A |
About LAMMPS |
Ctrl+Shift+H |
Quick Help |
Ctrl+Shift+G |
LAMMPS-GUI Docs |
Ctrl+Shift+R |
Inspect Restart File |
Ctrl+Shift+O |
View in OVITO |
Ctrl+Shift+D |
View in VMD |
Ctrl+Shift+L |
Output Window |
Ctrl+Shift+C |
Charts Window |
Ctrl+Shift+I |
Image Window |
Ctrl+Shift+M |
LAMMPS Manual |
Ctrl+? |
Context Help |
Ctrl+Shift+T |
LAMMPS Tutorial |
Ctrl+Shift+J |
View Image File(s) |
Ctrl+Shift+P |
Plot Data File |
||
Ctrl+Shift+U |
LAMMPS Update |
Ctrl+Home |
Go to Beginning |
Ctrl+End |
Go to End |
Further keybindings of the editor window are documented with the Qt documentation. In case of conflicts the list above takes precedence.
All other windows only support a subset of keyboard shortcuts listed above. Typically, the shortcuts Ctrl-/ (Stop Run), Ctrl-W (Close Window), and Ctrl-Q (Quit Application) are supported. Some sub-windows also rebind shortcuts for window-specific actions:
Output window: Ctrl-N jumps to the next warning or error, Ctrl-S saves the captured log to a file, Ctrl-Y exports any embedded YAML data, Ctrl-Enter runs the current input buffer.
Image Viewer window: Ctrl-S saves the rendered image, Ctrl-C copies it to the clipboard, Ctrl-D copies the
dump image/dump_modifycommands to the clipboard.Slide Show window: Ctrl-S saves the currently displayed image, Ctrl-C copies it to the clipboard, Ctrl-E exports the image sequence to a movie file.