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! 🤷
disabling evil-cleverparens fixes it, but I want it enabled so I can use it!
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
On my machine, Alt-TAB seems to run completion at point
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.
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
Specifically, this comment was a big help: https://github.com/luxbock/evil-cleverparens/issues/58#issuecomment-717415043