calva
calva copied to clipboard
Some custom keybinding does not work, e.g., paredit.backwardSexp
{"key": "ctrl+, b",
"command": "paredit.backwardSexp",
"when": "calva:cursorBeforeComment && editorLangId == 'clojure' || calva:keybindingsEnabled && editorTextFocus && !calva:cursorInComment && !config.calva.paredit.hijackVSCodeDefaults && editorLangId == 'clojure' && editorLangId == 'clojure' && paredit:keyMap =~ /original|strict/"
},
The above key binding does not work. If we take out the !config.calva.paredit.hijackVSCodeDefaults part, then it works again.
However, the original key binding ctrl|+
What's your setting for calva.paredit.hijackVSCodeDefaults? If it's enabled then the !config.calva.paredit.hijackVSCodeDefaults would disable the shortcut. But you don't need to involve that setting in your keybinding anyway. It's more a thing for Calva's default shortcut definitions.