PICO-8 Wiki
(→‎Global use: toggle keyboard cursor)
(→‎Text Editor: goto line alternate)
Line 249: Line 249:
 
|-
 
|-
 
|Go to Line number
 
|Go to Line number
|<kbd>Ctrl</kbd>+<kbd>L</kbd>, #, <kbd>Enter</kbd>
+
|<kbd>Ctrl</kbd>+<kbd>I</kbd> /<br /><kbd>Ctrl</kbd>+<kbd>L</kbd>
 
|
 
|
 
|
 
|
Line 267: Line 267:
 
|
 
|
 
|
 
|
|}
+
|}
   
 
==Sprite editor==
 
==Sprite editor==

Revision as of 05:18, 1 May 2018

!!! Work in progress, not ready for prime time, do not link from other pages yet !!!

Not all PICO-8 hardware has a keyboard, but when it does, there are many keyboard shortcuts that one can use.

Note that the list below primarily shows the shortcuts for a QWERTY keyboard layout on a Windows build of PICO-8. Regional and platform variations do exist, however. Where known to be different, the Linux and MacOS alternatives are listed here.

Readers with knowledge of other platforms are encouraged to fill in the blanks if they know of keys that differ from the Windows layout. If you do, please follow the existing format, thanks!

Global use

Function Windows Linux MacOS
Quit Alt+F4 ⌘Cmd+Q
Reload/Run/Restart Ctrl+R
Quick-save Ctrl+S
Mute/unmute Ctrl+M
Editor toggle Esc
Full screen toggle Alt+Enter ⌘Cmd+F
Save a screenshot to desktop F1 / F6 /
Ctrl+6
Capture cartridge label image F2 / F7 /
Ctrl+7
Start recording a video F3 / F8 /
Ctrl+8
Save GIF video to desktop F4 / F9 /
Ctrl+9
Toggle keyboard cursor F5 / F10 /
Ctrl+0
Toggle FPS display Ctrl+1

While running

Function Windows Linux MacOS
Pause menu P / Enter

See btn() for details on default controller/keyboard mappings, and keyconfig for info on changing those mappings.


Command Line

Function Windows Linux MacOS
Copy (entire line) Ctrl+C
Paste Ctrl+V
History  ↑  /  ↓ 
End-of-line End / Ctrl+E
Start-of-line Home / Ctrl+A
Kill to end-of-line Ctrl+K
Kill to start-of-line Ctrl+U


Text Editor

Function Windows Linux MacOS
Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+V
Select all Ctrl+A
Glyph mode toggle Ctrl+K
Insert/overwrite toggle Ins
Start of line Home
End of line End
Start of document Ctrl+Home /
Ctrl+ ↑ 
End of document Ctrl+End /
Ctrl+ ↓ 
Previous word Ctrl+
Next word Ctrl+
Previous function Alt+ ↑ 
Next function Alt+ ↓ 
Indent selection ⇥Tab
Un-indent selection Shift+⇥Tab
Undo Ctrl+Z
Redo Ctrl+Y
Find text in current tab Ctrl+F
Find text aGain Ctrl+G
Go to Line number Ctrl+I /
Ctrl+L
Duplicate current line Ctrl+D
Switch to next tab Ctrl+⇥Tab
Switch to previous tab Ctrl+Shift+⇥Tab

Sprite editor

All tools:

Function Windows Linux MacOS
Copy Ctrl+C
Paste (at current sprite location) Ctrl+V
Undo/Redo (single-step) Ctrl+Z
Previous sprite Q
Next sprite W
Previous color 1
Next color 2
Toggle full view ⇥Tab
Replace color Ctrl+🖰 Click
Shift by one pixel / /  ↑  /  ↓ 
Flip horizontal F
Flip Vertical V
Rotate 90° CCW R
Zoom < / > /
🖰 Wheel

Draw tool:

Function Windows Linux MacOS
Copy Ctrl+C
Paste (at upper left) Ctrl+V
Replace color Ctrl+🖰 Click

Stamp tool:

Function Windows Linux MacOS
Stamp with color 0 transparent LCtrl+🖰 Click

Select tool:

Function Windows Linux MacOS
Select none Enter

Pan tool:

Function Windows Linux MacOS
View sprite sheet Space

Fill tool:

(n/a?)

Map editor

(TODO)

SFX editor

(TODO)

Music editor

(TODO)