Merge pull request #119 from giladgd/addSupportForSectionSign

Add support for using § key on Mac keyboards for sidebar toggle shortcut
This commit is contained in:
Enix 2021-01-05 20:55:33 +08:00 committed by GitHub
commit 3a2b684d33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,9 @@
const keyCodeArray = [
...'1234567890abcdefghijklmnopqrstuvwxyz'.split(''),
..."`[]\\;',./".split(''),
/* the key that's located left to the 1 key in Mac
keybords in multiple Engligh laybouts (Backquote) */
...'`§'.split(''),
..."[]\\;',./".split(''),
'alt',
'shift',
'ctrl',