practicalli

gdubs 2021-08-26T03:47:00.001800Z

This isn't a practicalli problem, per se, but perhaps you can help me out. I've just cloned the practically spacemacs.d and fired up emacs running on a remote linux server. Whenever I alt-tab away, it adds square brackets around the next s-expr. In other works, say I have foo, I alt-tab away and then come back, now it's [foo] . Also, it drops me into insert mode (using evil here). So weird! 🤷

gdubs 2021-08-26T04:40:47.002Z

disabling evil-cleverparens fixes it, but I want it enabled so I can use it!

practicalli-johnny 2021-08-26T13:53:03.002200Z

Hmm, my guess would be the remote is misinterpreting the key codes sent to it. Alt can be a bit strange on some system I believe

practicalli-johnny 2021-08-26T13:55:20.002400Z

On my machine, Alt-TAB seems to run completion at point

practicalli-johnny 2021-08-26T13:56:54.002600Z

I assume the Alt-TAB key key could be bound to an nil command in Spacemacs if you don't use it for Spacemacs specific action.

👍 1
gdubs 2021-08-26T15:06:40.002900Z

Firstly, thanks for your spacemacs.d. I appreciate the leg up. Secondly, I think it's not alt-tab per se, but when the terminal looses focus, it sends a key sequence that's interpreted as M-[. Looks like you were aware of the weirdness at least at one point. 🙂 https://github.com/practicalli/spacemacs-content/issues/288

👍 1
gdubs 2021-08-26T15:18:53.003200Z

Specifically, this comment was a big help: https://github.com/luxbock/evil-cleverparens/issues/58#issuecomment-717415043

👍 1