YSokoban has many hotkeys to do some frequently used actions. Here is a list of all existing hotkeys:
Key | Action | Category |
---|---|---|
Ctrl-TAB | open drop-down Collection combobox | - |
Shift-TAB | open drop-down Player combobox | - |
ESC | Restart level (all your current moves will go to redo buffer, so they can be played again with redo) | game play |
Shift-ESC | Restart level plus resize YSokoban to fit level | game play |
arrows | move player (left, right, up, down) | game play |
backspace | undo | game play |
Shift-backspace | undo step | game play |
space | redo or stop playing solution (F2) | game play |
Ctrl-space | continue redo (non-stop) | game play |
Shift-space | make one step | game play |
F9 | toggle show reachable | game play |
Ctrl-F9 | toggle show movable boxes | game play |
Alt-F9 | (1.624+) toggles showing not moved boxes (boxes which were not touched from start of solving level to that moment). Sometimes used by level creators. | game play |
F2 | replay solution | Replay |
Ctrl-F2 | replay solution (stopping on box change) | Replay |
Shift-F2 | replay solution (step-by-step) | Replay |
End | (1.624+) pressed during solution replay (or pasted solution) jumps instantly to final result (skipping all moves). | Replay |
Home | (1.624+) (works only in finished state, i.e. during final animation - all boxes and man are happily ... jumping) reloads level and puts mark only on non moved boxes (see Alt-F9 about non moved boxes). | Replay |
F11 | toggle full screen mode. | - |
Ctrl-F11 | toggle status/menu bar. | - |
Ctrl-S | save current state | - |
Ctrl-D | load (restore) current state | - |
Ctrl-Home | Jump to the first level in the collection | navigation |
Ctrl-End | Jump to the last level in the collection | navigation |
Ctrl-0..9 | Bookmark current level | navigation |
0..9 | Jump to corresponding bookmarked level | navigation |
Ctrl-LeftArrow | Jump to previous level in the collection | navigation |
Ctrl-RightArrow | Jump to next level in the collection | navigation |
Shift-Ctrl-Left/DownArrow | Jump to previous unsolved level | navigation |
Shift-Ctrl-Right/UpArrow | Jump to next unsolved level | navigation |
Ctrl-Alt-arrows | Jump to prev/next level in the collection even if invalid (non existing) | navigation |
Alt-arrows | Same as Ctrl-Alt, i.e.: jump to prev/next level in the collection even if invalid (non existing) | navigation |
Alt-Shift-arrows | Jump to prev/next invalid level in the collection (non existing levels + boxes != targets) | navigation |
Alt-F3 | select folder for writing BMP/PNG files | screen shots |
Ctrl-F3 | if not recording - start recording with frame 0; if recording - stop (only in recording mode) | screen shots |
Shift-F3 | if not recording - continue recording (with next frame number); if recording - stop (only in recording mode) | screen shots |
Shift-X | make screen shot of current level | screen shots |
Ctrl-Shift-X | make screen shot of all levels | screen shots |
Ctrl-Alt-Shift-F3 | switch between recording non recording mode | screen shots |
Ctrl-Shift-F3 | switch between BMP/PNG mode | screen shots |
Ctrl-Alt-F3 | switch between full screen shot and level screen shot mode | screen shots |
Ctrl-F1 Shift-F1 or F12 | start default browser with correct URL so that it will show level from solution database site | - |
Ctrl-F12 | put in clipboard URL for the solution database | - |
Ctrl-C Ctrl-Ins |
copy moves made for this level to clipboard | - |
Ctrl-Alt-C Ctrl-Alt-Ins |
copy to clipboard the rest of the solution | - |
Ctrl-L | copy current level and solutions to the clipboard. | - |
Alt-L | copy current level to the clipboard (no solutions, no changes, copy original level). | - |
Alt-Shift-L | same as Alt-L but spaces are replaced with - or _ (minus or underscore) | - |
Ctrl-Alt-L | same as Ctrl-L but spaces are replaced with - or _ (minus or underscore) | - |
Ctrl-Shift-L | same as Ctrl-L but RLE packed | - |
Ctrl-Alt-Shift-L | same as Ctrl-L but MF8 format | - |
Ctrl-M | same as above but has XSB + MF8 format | - |
Ctrl-R | toggles showing the numeric/alphabet ruler (chess like notation). | - |
Alt-R | toggles showing the numeric/numeric ruler. | - |
Ctrl-V (Shift-Ins) |
paste moves from clipboard | - |
Ctrl-I | paste moves from clipboard and make them instantly (no visualization) | - |
Ctrl-Shift-V Ctrl-Shift-Ins |
paste moves, but stops on every box change then you can continue with space. | - |
Shift-LeftArrow | Rotate level 90 degrees left (aka rotate 270 degrees) | orientation |
Shift-RightArrow | Rotate level 90 degrees right | orientation |
Shift-DownArrow | Horizontal mirror | orientation |
Shift-UpArrow | Horizontal mirror by default (or Vertical mirror if configured) | orientation |
Shift-H | Horizontally mirrored | orientation |
Shift-L | Rotated 270 degrees or left rotated 90 degrees | orientation |
Shift-O | Original orientation | orientation |
Shift-R | Rotated 90 degrees | orientation |
Shift-U | Rotated 180 degrees | orientation |
Shift-V | Vertically mirrored | orientation |
Shift-\ | Horizontally mirrored and then Rotated 90 Degrees | orientation |
Shift-/ | Horizontally mirrored and then Rotated 270 Degrees | orientation |
M | Play newly edited macro (edited in bottom part of Macro Dialog) | Macros |
Shift-M | play selected macro (shown in upper part of Macro Dialog) | Macros |
F3..F8 | switch skin | Skins |
Ctrl-F3..F8 | switch skin (with opposite setting for the grid) | Skins |
Ctrl-N | toggle net (grid) on skin (like Ctrl-F3..F8, but for current skin). | Skins |
* | toggles autoresizing on/off. | Skins |
= | switch autoresizing off and set skin to it's default size. | Skins |
# or ` | toggles autoresizing algorithm (there are two possible algorithms it depends on skin which one is better). | Skins |
- or [ | stop autoresizing and use skin with one pixel less size than current | Skins |
+ or ] | stop autoresizing and use skin with one pixel greater size than current | Skins |
S and A | Iterate over skins in skins folder (sub-folder where YSokoban.exe is). A/S will iterate backward/forward on skins there. | Skins |
Alt-D | (1.624+) Sometimes you have text with every other line empty. Alt-D will remove double lines from clipboard (then you can paste wherever you want), do not press alt-D twice, or you will remove more double lines than needed. | Tool |
F1 | Activates default browser with local help (if available). It should be in YSokobanDocs subfolder of a folder where YSokoban.exe is located | Tool |