vipzhicheng / logseq-plugin-vim-shortcuts

Add part of VIM key bindings experience to Logseq
MIT License
343 stars 17 forks source link

Handle empty values in `logseq-vim-shortcuts.json`. #51

Open Feliconut opened 1 year ago

Feliconut commented 1 year ago

In the current version v0.1.19, empty values in the keyboard shortcuts file will cause loading error when logseq starts up. A simple check should be performed when parsing this file, handling the empty entries by disabling those shortcuts.