rooklift / nibbler

Chess analysis GUI for UCI engines, with extra features for Leela (Lc0) in particular.
GNU General Public License v3.0
554 stars 68 forks source link

Customizable keybindings #247

Open Mekk opened 1 year ago

Mekk commented 1 year ago

Would be nice if one could change some keybindings. Not necessarily with GUI, text config file would suffice.

(in fact I'd only like to remap F12 to sth else - I've been using this key for yakuake for ages and wouldn't like to abandon this habit, and this way can't use shortcut to analyze current line)

PS As this is my first remark, let me thank you for interesting tool, made me change my way of analysing games

v11580 commented 8 months ago

You can change the key bindings in the main.js file in the app directory. (Do a search for F12 and change the associated function.)

Mekk commented 7 months ago

Thank you, indeed it works (in binary distribution the file is resources/app/main.js but can be edited and after restart keybindings are appropriately changed).

Still, it would be nice if I those could be kept in some config outside distribution (so upgrade won't loose them).