Skip to content

Instantly share code, notes, and snippets.

@tonini
Last active August 29, 2015 14:22
Show Gist options
  • Save tonini/258f9238c9c4cbfa61b8 to your computer and use it in GitHub Desktop.
Save tonini/258f9238c9c4cbfa61b8 to your computer and use it in GitHub Desktop.
;; In case you have no `M-,` key defined inside your Erlang-Mode
;; you want to at least have defined `M-,` to jump back to the
;; last position you came from in your Elixir code.
(defun custom-erlang-mode-hook ()
(define-key erlang-mode-map (kbd "M-,") 'alchemist-goto-jump-back))
(add-hook 'erlang-mode-hook 'custom-erlang-mode-hook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment