ruby: change documentation lookup key binding

`SPC m h h` is conventional key binding to show documentation for thing under
point. It is called by `spacemacs/evil-smart-doc-lookup`, so this change makes
`K` in normal state work as expected.
This commit is contained in:
Paul 2017-07-03 18:04:44 +02:00 committed by Eivind Fonn
parent d3cef31ed6
commit 4b347759b9
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ directory local variables.
| ~SPC m '~ | toggle quotes of current string (only built-in mode) |
| ~SPC m {~ | toggle style of current block (only built-in mode) |
| ~SPC m g g~ | go to definition (robe-jump) |
| ~SPC m h d~ | go to Documentation |
| ~SPC m h h~ | show documentation for method at point (robe-doc) |
| ~SPC m s f~ | send function definition |
| ~SPC m s F~ | send function definition and switch to REPL |
| ~SPC m s i~ | start REPL |

View File

@ -149,7 +149,7 @@
(spacemacs/set-leader-keys-for-major-mode mode
"'" 'robe-start
;; robe mode specific
"hd" 'robe-doc
"hh" 'robe-doc
"rsr" 'robe-rails-refresh
;; inf-enh-ruby-mode
"sf" 'ruby-send-definition