feat(emacs): add inf-elixir keybinds
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
b80202e496
commit
952ee5b1df
1 changed files with 13 additions and 0 deletions
|
@ -389,5 +389,18 @@
|
||||||
|
|
||||||
(setq auto-mode-alist (cons '("\\.tsx$" . rjsx-mode) auto-mode-alist))
|
(setq auto-mode-alist (cons '("\\.tsx$" . rjsx-mode) auto-mode-alist))
|
||||||
|
|
||||||
|
;; elixir
|
||||||
|
|
||||||
|
(defvar-keymap inf-elixir-keymap
|
||||||
|
"i" #'inf-elixir
|
||||||
|
"p" #'inf-elixir-project
|
||||||
|
"c" #'inf-elixir-send-line
|
||||||
|
"b" #'inf-elixir-send-buffer
|
||||||
|
"r" #'inf-elixir-send-region
|
||||||
|
"R" #'inf-elixir-reload-module)
|
||||||
|
(add-hook 'elixir-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(keymap-local-set "C-c i" inf-elixir-keymap)))
|
||||||
|
|
||||||
(provide 'misc)
|
(provide 'misc)
|
||||||
;;; misc.el ends here
|
;;; misc.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue