franciscoBSalgueiro / en-croissant

The Ultimate Chess Toolkit

Home Page:https://encroissant.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard shortcuts and navigation

Cankyre opened this issue · comments

Describe the feature

The keyboard navigation, especially when navigating PGN files, is a bit lacking. Here is a list of keyboard mappings that I'd like to see in En-croissant, including those from #11 . A lot of these can also be included in the menu bar.

Tabs

  • New tab (Ctrl+t)
  • Close tab (Ctrl+w)
  • Cycle tabs (Ctrl+Tab)
  • Cycle tabs backwards (Ctrl+Shift+Tab)

Files

  • Open file (Ctrl+o)
  • Save file (Ctrl+s)
  • Save as (Ctrl+shift+s)

Edit

  • Comment position (d)
  • Annotate position (g)
  • Toggle annotations (1 to 6, "??" to "!!")
  • Replace move (Shift+Move)
  • Play best computer move (Space)
  • Play first explorer move (Shift+Space)
  • Clear shapes (Ctrl+L)

View

  • Flip board (f)
  • Toggle eval bar and best moves arrows (z)
  • Go to engines (e)
  • Go to explorer (x)
  • Toggle fullscreen (Ctrl+f)

Navigation

  • Next/previous move (right/left)
  • Start of variation / End of variation (up/down)
  • Start of game / End of game (Shift+up/Shift+down)
  • Next branch / Previous branch (Shift+right/Shift+left)

Engine

  • Toggle all engines (Ctrl+e)
  • Toggle specific engine (Ctrl+NUM)
  • Generate game report (Ctrl+r)

Play

  • Player vs. Engine (F9)
  • Player vs. Player (F10)
  • Engine vs. Engine (F11)

Help

  • Show keybinds (?)