Skip to content

Instantly share code, notes, and snippets.

@benjamintanweihao
Created July 11, 2016 09:37
Show Gist options
  • Save benjamintanweihao/dd84f1a0444c25470181dcca66f98643 to your computer and use it in GitHub Desktop.
Save benjamintanweihao/dd84f1a0444c25470181dcca66f98643 to your computer and use it in GitHub Desktop.
Spacemacs + Oz
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
(spacemacs/set-leader-keys-for-major-mode 'oz-mode
"sb" 'oz-feed-buffer
"sl" 'oz-feed-line
"sr" 'oz-feed-region
"sc" 'oz-toggle-compiler
"se" 'oz-toggle-emulator
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment