Keyboard shortcuts Every keyboard shortcut in the Lyna editor, for the chat, panels, canvas modes, editing, zoom, layers and the code editor.
Press Shift + / (the ? key) in the editor to see every shortcut. You can also find the full list in Settings > AI > General , under Keyboard Shortcuts , with a search field.
Cmd or Ctrl
Cmd is the Command key on macOS. On Windows and Linux, use Ctrl instead. Canvas shortcuts work while the canvas has focus, not while you type in a field.
Action Shortcut Add to AI chat (the current selection) Cmd + Shift + LNew AI Chat Cmd + LOpen Chat Mode Menu Cmd + .Turn Plan mode on or off (in the composer) Shift + Tab
Action Shortcut Toggle Left Panel Cmd + /Toggle Right Panel Cmd + \Chat Fullscreen Cmd + Shift + \Toggle Terminal Cmd + JFocus Mode Cmd + Shift + .Command Palette Cmd + KSource Control Cmd + Shift + HShow Shortcuts Shift + /
Action Shortcut Select VCode CPan H, or hold SpacePreview PComment MInsert Div RInsert Text TEdit Text (on the selected element) EnterEscape EscSwitch to Design, Code or Preview Cmd + 1, Cmd + 2, Cmd + 3Show distances between elements Hold Alt
Action Shortcut Undo Cmd + ZRedo Cmd + Shift + ZCopy Cmd + CPaste Cmd + VCut Cmd + XDuplicate Cmd + DDelete Delete or BackspaceWrap (in a new container) Cmd + GUnwrap Cmd + Shift + G
Action Shortcut Zoom Fit Cmd + 0Zoom In Cmd + =Zoom Out Cmd + -Set the selected frame to Desktop, Laptop, Tablet or Phone Cmd + Shift + 1 to 4
Action Shortcut Move Layer Up Shift + ↑Move Layer Down Shift + ↓
These work while the code editor has focus. On macOS, Option is the Alt key.
Action Shortcut Find Cmd + FFind and Replace Cmd + Alt + FFind Next Match Cmd + DToggle Line Comment Cmd + /Toggle Block Comment Shift + Alt + AMove Line Up or Down Alt + ↑ or Alt + ↓Copy Line Up or Down Shift + Alt + ↑ or Shift + Alt + ↓Insert Blank Line Cmd + EnterIndent or Outdent Tab or Shift + TabDecrease or Increase Indent Cmd + [ or Cmd + ]Select All Cmd + AGo to Start or End of File Cmd + Home or Cmd + EndUndo or Redo Cmd + Z or Cmd + Shift + Z
The shortcuts list in settings shows the exact keys for your system, including the extra ones for macOS.