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 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+M

LAMMPS Manual

Ctrl+?

Context Help

Ctrl+Shift+T

LAMMPS Tutorial

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.