spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
grazfather 2021-01-19T17:35:43.036600Z

I find that i get stuck in insert mode a lot

grazfather 2021-01-19T17:35:48.036800Z

escape acts as a prefix

grazfather 2021-01-19T17:36:02.037100Z

how do I leave insert mode if both esc and ctrl-[ don't work?

grazfather 2021-01-19T17:55:28.039100Z

oh, I think it's from hitting Ctrl-z

practicalli-john 2021-01-19T17:56:29.039900Z

@grazfather ah, hitting C-z takes you to Emacs editing state, cursor turns blue. C-z will take you back again

grazfather 2021-01-19T18:15:58.040900Z

yucky. I wouldn't know how to use it, but I apparently hit it accidentally. How can I unmap it?

practicalli-john 2021-01-19T18:23:22.042300Z

@grazfather to unmap the key should be something like this in the .spacemacs file, in the dotspacemacs/user-config section

(define-key global-map (kbd "C-z") nil)

grazfather 2021-01-19T18:37:39.042500Z

Thank you!

practicalli-john 2021-01-19T18:38:32.043200Z

I think SPC f e R should load in the change, otherwise SPC q r to restart Emacs.

grazfather 2021-01-19T18:39:42.043400Z

Hm, that doesn't seem to work.

practicalli-john 2021-01-19T18:40:29.044Z

Sorry, copy paste error, I forgot to change the k to a z... updated in the post above

grazfather 2021-01-19T18:41:05.044200Z

no that wasn't it, i figured that part

grazfather 2021-01-19T18:41:13.044600Z

I had to use global-map not global-state-map

practicalli-john 2021-01-19T18:41:30.045Z

Its probably defined in a different keyboard map

grazfather 2021-01-19T18:41:32.045100Z

wait that doesnt' work either

grazfather 2021-01-19T18:42:39.045400Z

yeah i will unmap it manually in all of them

practicalli-john 2021-01-19T18:43:47.045800Z

SPC h d K will describe a key map

grazfather 2021-01-19T18:45:05.046Z

oh wow ty