Graphite/docs/design/inputs-and-keybindings.md

8.2 KiB
Raw Permalink Blame History

Inputs and keybindings

WARNING: This document is out of date and some of the information contained herein does not accurately explain the current status or plans.

Input categories

  • Keyboard
    • Modifier keys (Ctrl, Shift, Alt)
    • Letter keys (AZ)
    • Number keys (09)
    • Left edge keys (Escape, `, Tab)
    • Right edge keys (Backspace, \, Return, /)
    • Space bar ()
    • Symbol pair keys (-/=, [/], ;/', ,/.)
    • Function keys (F1F12)
    • Navigation keys (Insert/Delete, Home/End, Page Up/Page Down)
    • Arrow keys (, , , )
    • Numpad Enter should be equivalent to CtrlReturn (Enter)
    • Other numpad keys should reflect their main keyboard counterparts
  • Mouse
    • Cursor movement
    • LMB
    • RMB
    • MMB
    • Vertical scroll wheel up/down
    • Horizontal scroll wheel (less common)
    • Forward navigation (less common)
    • Backward navigation (less common)
  • Tablet
    • Hover movement
    • Stroke movement
      • With pressure
      • With tilt
      • With angle (less common)
    • Lower stylus button
    • Upper stylus button
    • Eraser hover movement (less common)
    • Eraser stroke movement (less common)
  • Touch
    • Tap
    • Drag
    • Pinch
    • Rotate
    • Multiple fingers (14)

Document-specific commands

  • CtrlS Save document.
  • CtrlShiftS Save as.
  • CtrlE Export.

Panel-specific commands

Document Panel

Viewport navigation

Ctrl- Zoom out to the next discrete increment. Ctrl=/Ctrl+ Zoom in to the next discrete increment. Ctrl0 Zoom to show the entire canvas. Ctrl` Zoom to show the entire selection. Ctrl1 Zoom to 100% scale. Ctrl2 Zoom to 200% scale.

Selection-specific

  • H Hide/show selection, equivalent to turning off the eye icon on every selected layer
  • AltH Show hidden direct children of the selection, equivalent to turning on the eye icon on every direct child layer of the selected layers
  • X Delete selection (with confirmation)
  • CtrlI Invert selected, by applying an Invert node.

Masking

  • Tab Enter/exit Mask Mode.

Working colors

  • ShiftX Swap the primary and secondary working colors.
  • CtrlShiftX Reset the primary and secondary working colors to black and white.

Tool shelf

Tool Graphite Photoshop Illustrator XD Affinity Designer Inkscape Gimp
Select Tool V V V V V
Artboard Tool C ShiftO A
Navigate Tool Z Z/H/R Z/H Z Z/H
Eyedropper Tool I I I I
Fill Tool F G G
Gradient Tool H G G G
Path Tool A A A A
Pen Tool P P P P P
Freehand Tool N P N N
Spline Tool P Shift~ P
Line Tool L U \ L P
Rectangle Tool M U/M M R M
Ellipse Tool E U/M L E M
Shape Tool Y U Y
Text Tool T T T T T
Brush Tool B B B B
Heal Tool J J
Clone Tool C S
Patch Tool J
Relight Tool O O
Detail Tool D

Tool-specific keys

Excluding mouse inputs and modifier keys.

Select Tool
  • G Grab (translate) the selected items. Hit X or Y to constrain to that global axis, hit X or Y again to constrain to that local axis. Type a number to move along that axis by that many pixels (px or pixel or pixels), or type a unit suffix.
  • R Rotate the selected items. Type a number to rotate by that many degrees (° or deg or degree or degrees), or type a unit suffix (turn or turns or rev or revs, rad or radians, min or minutes or ', sec or seconds or ", grad).
  • S Scale the selected items. Hit X or Y to constrain to that global axis, hit X or Y again to constrain to that local axis. Type a number to scale along that axis by that factor (fac or factor), or type a unit suffix (%).
Artboard Tool
Navigate Tool
Eyedropper Tool
Fill Tool
Gradient Tool
Path Tool
Pen Tool
Freehand Tool
Spline Tool
Line Tool
Rectangle Tool
Ellipse Tool
Shape Tool
Text Tool
Brush Tool
Heal Tool
Clone Tool
Patch Tool
Relight Tool
Detail Tool