Add nim-mode documentation binding

This commit is contained in:
ZarsBranchkin 2018-01-19 17:39:56 +02:00 committed by syl20bnr
parent 8943f856ed
commit f48f75e23f
2 changed files with 3 additions and 1 deletions

View File

@ -35,4 +35,5 @@ and =nimsuggest= binary must be in $PATH.
| ~SPC m c r~ | =nim compile --run main.nim= |
| ~SPC m g g~ or ~M-.~ | Jump to definition |
| ~SPC m g b~ or ~M-,~ | Jump back |
| ~SPC m h h~ | Show symbol's documentation |
|----------------------+------------------------------|

View File

@ -31,4 +31,5 @@
(spacemacs/set-leader-keys-for-major-mode 'nim-mode
"cr" 'spacemacs/nim-compile-run
"gb" 'pop-tag-mark))))
"gb" 'pop-tag-mark
"hh" 'nimsuggest-show-doc))))