Skip to content

Instantly share code, notes, and snippets.

@seancribbs
Created November 18, 2013 17:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seancribbs/7532044 to your computer and use it in GitHub Desktop.
Save seancribbs/7532044 to your computer and use it in GitHub Desktop.
(defun erlang-insert-binary ()
"Inserts a binary string into an Erlang buffer and places the
point between the quotes."
(interactive)
(insert "<<\"\">>")
(backward-char 3)
)
(define-key erlang-mode-map (kbd "C-c b") 'erlang-insert-binary)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment