Add nim-mode documentation binding
This commit is contained in:
parent
8943f856ed
commit
f48f75e23f
|
@ -35,4 +35,5 @@ and =nimsuggest= binary must be in $PATH.
|
||||||
| ~SPC m c r~ | =nim compile --run main.nim= |
|
| ~SPC m c r~ | =nim compile --run main.nim= |
|
||||||
| ~SPC m g g~ or ~M-.~ | Jump to definition |
|
| ~SPC m g g~ or ~M-.~ | Jump to definition |
|
||||||
| ~SPC m g b~ or ~M-,~ | Jump back |
|
| ~SPC m g b~ or ~M-,~ | Jump back |
|
||||||
|
| ~SPC m h h~ | Show symbol's documentation |
|
||||||
|----------------------+------------------------------|
|
|----------------------+------------------------------|
|
||||||
|
|
|
@ -31,4 +31,5 @@
|
||||||
|
|
||||||
(spacemacs/set-leader-keys-for-major-mode 'nim-mode
|
(spacemacs/set-leader-keys-for-major-mode 'nim-mode
|
||||||
"cr" 'spacemacs/nim-compile-run
|
"cr" 'spacemacs/nim-compile-run
|
||||||
"gb" 'pop-tag-mark))))
|
"gb" 'pop-tag-mark
|
||||||
|
"hh" 'nimsuggest-show-doc))))
|
||||||
|
|
Loading…
Reference in a new issue