Skip to content

Instantly share code, notes, and snippets.

@leshy
Last active June 16, 2017 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leshy/d096771957030c2611fba03045573c56 to your computer and use it in GitHub Desktop.
Save leshy/d096771957030c2611fba03045573c56 to your computer and use it in GitHub Desktop.
(require 'sclang)
(add-to-list 'auto-mode-alist '("\\.sc$" . sclang-mode))
(add-to-list 'auto-mode-alist '("\\.sclang$" . sclang-mode))
(add-hook 'sclang-mode-hook
(lambda () (progn
(local-set-key (kbd "C-q C-e") 'sclang-eval-region)
(local-set-key (kbd "C-q C-c") 'sclang-eval-region)
(local-set-key (kbd "C-q C-s") 'sclang-server-free-all)
)))
;(add-hook 'sclang-mode-hook 'sclang-extensions-mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment