This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-24
Channels
- # babashka (19)
- # beginners (43)
- # calva (10)
- # clj-kondo (3)
- # cljsrn (8)
- # clojure (106)
- # clojure-europe (8)
- # clojure-hungary (5)
- # clojure-nl (1)
- # clojure-uk (1)
- # clojurescript (14)
- # core-typed (1)
- # graalvm (2)
- # graphql (1)
- # malli (2)
- # membrane (9)
- # observability (2)
- # off-topic (66)
- # polylith (3)
- # practicalli (3)
- # re-frame (17)
- # reagent (3)
- # remote-jobs (7)
- # rewrite-clj (17)
- # sci (29)
- # shadow-cljs (45)
- # sql (5)
- # tools-deps (15)
- # vim (8)
Is calva going to support parainfer. Currently, vscodevim really does not play well with calva. For example, typing o in normal mode breaks the parens.
When I uncomment the =when= condition, the shortcut doesn’t work.
{"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/"
},
However, the when condition is a direct paste of the default values.
When I go with the default key binding ctrl-(up-arrow), everything goes fine. But with the changed key shortcut, it doesn’t work.To add more details, I found, if I remove the
!config.calva.paredit.hijackVSCodeDefaults
part. then it works again.