Skip to content

Instantly share code, notes, and snippets.

@pantulis
Created February 2, 2016 12:09
Show Gist options
  • Save pantulis/8b920e44020773f59d01 to your computer and use it in GitHub Desktop.
Save pantulis/8b920e44020773f59d01 to your computer and use it in GitHub Desktop.
Spacemacs snippet to remap special keys
(defun dotspacemacs/user-config ()
"Configuration function for user code.
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration. You are free to put any user code."
(global-set-key [(M +)] "]")
(global-set-key [(M ?\ç)] "}")
(global-set-key [(M \1)] "|")
(global-set-key [(M \2)] "@")
(global-set-key [(M \3)] "#")
(global-set-key [(M \4)] "~")
(global-set-key [(M ?\º)] "\\")
(global-set-key [(M ?\ñ)] "~")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment