Declare prefixes for Ensime keybindings
This commit is contained in:
parent
9da101f1d7
commit
7a7300ac42
1 changed files with 13 additions and 0 deletions
|
@ -82,6 +82,19 @@
|
|||
(ensime-inf-eval-region start end)
|
||||
(evil-insert-state))
|
||||
|
||||
(dolist (prefix '(("mb" . "scala/build")
|
||||
("mc" . "scala/check")
|
||||
("md" . "scala/debug")
|
||||
("me" . "scala/errors")
|
||||
("mg" . "scala/goto")
|
||||
("mh" . "scala/docs")
|
||||
("mi" . "scala/inspect")
|
||||
("mn" . "scala/ensime")
|
||||
("mr" . "scala/refactor")
|
||||
("mt" . "scala/test")
|
||||
("ms" . "scala/repl")))
|
||||
(spacemacs/declare-prefix-for-mode 'scala-mode (car prefix) (cdr prefix)))
|
||||
|
||||
(evil-leader/set-key-for-mode 'scala-mode
|
||||
"m/" 'ensime-search
|
||||
|
||||
|
|
Reference in a new issue