Add binding for merlin-occurrences
Also fix typo for binding prefix
This commit is contained in:
parent
7a05260136
commit
e39df3d17f
|
@ -65,6 +65,7 @@ Make sure opam is initialized and configured.
|
|||
| ~SPC m g b~ | Go back to the last position where the user did a locate |
|
||||
| ~SPC m g g~ | Locate the identifier under point (same window) |
|
||||
| ~SPC m g G~ | Locate the identifier under point (different window) |
|
||||
| ~SPC m g o~ | List occurrences for identifier under point |
|
||||
| ~SPC m g l~ | Prompt for identifier and locate |
|
||||
| ~SPC m g i~ | Prompt for module name and switch to ML file |
|
||||
| ~SPC m g I~ | Prompt for module name and switch to MLI file |
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
"gl" 'merlin-locate-ident
|
||||
"gi" 'merlin-switch-to-ml
|
||||
"gI" 'merlin-switch-to-mli
|
||||
"go" 'merlin-occurrences
|
||||
"hh" 'merlin-document
|
||||
"ht" 'merlin-type-enclosing
|
||||
"hT" 'merlin-type-expr
|
||||
|
@ -75,7 +76,7 @@
|
|||
(spacemacs/declare-prefix-for-mode 'tuareg-mode "me" "errors")
|
||||
(spacemacs/declare-prefix-for-mode 'tuareg-mode "mg" "goto")
|
||||
(spacemacs/declare-prefix-for-mode 'tuareg-mode "mh" "help")
|
||||
(spacemacs/declare-prefix-for-mode 'tuareg-mode "mf" "refactor"))))
|
||||
(spacemacs/declare-prefix-for-mode 'tuareg-mode "mr" "refactor"))))
|
||||
|
||||
(defun ocaml/init-ocp-indent ()
|
||||
(use-package ocp-indent
|
||||
|
|
Loading…
Reference in New Issue