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`.
claynon 2021-02-11T08:26:04.315400Z

recently some shortcuts stopped working and I’m wondering if anybody is experiencing the same problem the failing shortcuts are ctrl+alt+right, ctrl+alt+left, and ctrl+alt+up I noticed this around the time I upgrade my macOS to big sur, so this might be related

claynon 2021-02-11T08:28:18.315500Z

when I open vscode’s keyboard shortcuts and try to use its “record key” option it does not recognize the shortcuts I mentioned. It recognizes them as only “ctrl+alt” ctrl+alt+up works as expected and it’s fully recognized with the record key option

pez 2021-02-11T08:36:26.315700Z

So, recently we changed some shortcuts. (The post above yours is about this.) But somehow this sounds like it is another issue. …

pez 2021-02-11T08:37:10.315900Z

Which version of Big Sur are you on?

claynon 2021-02-11T08:38:02.316100Z

11.2 (20D64)

claynon 2021-02-11T08:38:31.316300Z

it doesn’t look like it’s a calva problem, but I don’t know how to debug this further

claynon 2021-02-11T08:39:43.316500Z

I noticed that these three shortcuts are also used by the OS. But the problem persists even after I disable them (in the OS)

pez 2021-02-11T08:42:49.316700Z

Where in the OS are they used? (We changed from ctrl+left/right because they were bound by Mission Control.)

claynon 2021-02-11T08:47:47.316900Z

I just restored the default keyboard shortcuts to make sure they weren’t something I overrode ctrl+alt+right and left are used by mission control to “move right/left a space”

claynon 2021-02-11T08:48:25.317100Z

can’t find ctrl+alt+up anymore, it was probably overriden by the restore default

claynon 2021-02-11T08:49:40.317300Z

wait something is wrong. I just restored the defaults again and the mission control shortcuts I just mentioned became ctrl+right and ctrl+left

claynon 2021-02-11T08:51:41.317500Z

and now vscode is working I believe I I was using ctrl+alt+left for mission control because it conflicted with calva. And when calva changed the OS wouldn’t free these shortcuts even when I disabled (but didn’t change the OS shortcut) them

pez 2021-02-11T08:53:59.317700Z

Ah. that figures. Happy it is working!

claynon 2021-02-11T08:55:03.317900Z

thanks for the help 🙂

❤️ 1
Tomas Brejla 2021-02-11T09:16:41.318200Z

@pez What is the name of the command for surrounding the expression with (comment) ? The shortcut used to be ctrl+shift+a, but it's no longer working for me. It used to work in the past, but I remember that sometimes it worked fine for me, sometimes not. Currently Toggle Block Comment seems to be assigned to that key combination.. is that the right one? Should it be working and result in expression getting surrounded by comment ?

pez 2021-02-11T09:22:36.318400Z

I don’t think we have that command?

pez 2021-02-11T09:23:38.318600Z

I slurp the form, then type “comment”.

Tomas Brejla 2021-02-11T09:37:40.318800Z

Interesting.. I could swear that the command used to be there 😄. Maybe some side-effect that you somehow respected the generic "Toggle Block Comment" under some circumstances?

Tomas Brejla 2021-02-11T09:38:09.319Z

(does it make sense to have such command? IMO it does! 🤞 🙂 )

pez 2021-02-11T09:43:04.319200Z

Yes, I think it makes sense. Please file an issue about it.

👍 1
Tomas Brejla 2021-02-11T10:17:19.319500Z

FYI https://github.com/BetterThanTomorrow/calva/issues/1029

👍 2