calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
Chase 2021-02-24T16:04:59.054900Z

Would anyone care to share their vscodevim settings in relation to Calva? I've been wanting to try out VSC again but my only main fear is my Clojure programming because I remember Calva and Vim keybindings did not get along well. Is that still the case and if so have any of ya found good workarounds there?

pez 2021-02-24T16:08:07.055800Z

@chase-lambert Not sure how relevant, but maybe have a look at https://practicalli.github.io/clojure/clojure-editors/editor-user-guides/vspacecode-calva.html

Chase 2021-02-24T16:09:32.056900Z

ahh, interesting. I did like Spacemacs back in the day. I started using space as my leader key when I moved back to vim.

pez 2021-02-24T16:10:06.058200Z

Also, this is what’s been recorded about Calva and Vim so far https://calva.io/vim/ If you try it and find out more about the thing, please PR.

Chase 2021-02-24T16:10:45.058900Z

I'm also wondering if anyone actually stopped using Vim keybindings when moving to VS Code and just learned the "native" way of doing things. Not sure I could do it but I'm not the heaviest power user. That might be too offtopic for this channel though.

Chase 2021-02-24T16:10:54.059200Z

Cool, I'll check out these resources. Thanks!

pez 2021-02-24T16:13:09.061400Z

I am sort of one of those. Vim -> Emacs (because of Clojure) -> VS Code (because weak computer). Tried VIM bindings a bit (as I always did when using something else than Vim) but found it a bit too different from real Vim so now using VS Code vanilla.

Chase 2021-02-24T16:14:02.061800Z

Is your workflow still able to be heavily keyboard based or are you constantly having to use the mouse?

pez 2021-02-24T16:15:36.063300Z

I mix it up. Using a Mac laptop so, keyboard or mouse isn’t too different. 😃 But I don’t think I have to use the mouse as much as I do. VS Code is pretty keyboard friendly.

pez 2021-02-24T16:17:07.065Z

I think VSpaceCode might be pretty nice, though. Even if I sort of have converted to VS Code vanilla habits. I like it and I think it brings me closest to most Calva users.

lread 2021-02-25T15:03:12.110800Z

@pez and @chase-lambert I am coming from spacemacs and am trying out VSpaceCode. It is nice in that it is familiar but the differences from spacemacs are enough to bog me down a bit sometimes.

pez 2021-02-24T16:18:18.065700Z

I never learnt to type properly so avoiding the mouse doesn’t make all that much difference for me anyway.

bringe 2021-02-24T17:46:27.075100Z

Calva version 2.0.174 is out. 🎉 :calva: :clojure-lsp: This version doesn't really include a change. I've translated the clojure-lsp integration code to ClojureScript. Everything should work as it did before, but if you see anything odd please report an issue. This somewhat of a trial, but maybe the beginning of a broader effort to translate more of Calva into cljs, as well as write new code in cljs. There are small trade-offs, but I think the benefits far outweigh them. We lose the node debugger (or at least it doesn't work the same from what I know), as well as completions on JS objects (this I think could be added through something like clj-suitable, https://github.com/clojure-lsp/clojure-lsp/issues/327). However, we gain benefits of Clojure (which we all love, right?)... repl-driven development, more reliable, functional-and-immutable-by-default code, hot code reloading thanks to shadow-cljs, etc. I also suspect people will be more willing to contribute to a Clojure project if more of it were written in Clojure(Script), but that remains to be seen if we continue down this path. Happy Coding ~

2
3
1
🎉 3
pez 2021-02-24T17:48:47.075800Z

Super duper awesome, @brandon.ringe!

1
❤️ 1
pez 2021-02-24T17:51:35.078900Z

I strongly disagree about small trade-offs, having experienced them first hand and often and for long periods of time. But I do think you might be right about it being outweighed by the benefits of the REPL and #shadow-cljs hot reloading + inspector.

❤️ 1
bringe 2021-02-24T18:02:09.079200Z

Time will tell 😄