From 3797f5bd9ab033129e629e77427c7df4e8a63d31 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Sat, 23 Apr 2016 14:14:02 +0430 Subject: [PATCH] C-c M-j added as keybingin for in ruby mode robe-start --- lib/extensions/ruby/setup.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/extensions/ruby/setup.el b/lib/extensions/ruby/setup.el index c18cbdd..0bf3104 100644 --- a/lib/extensions/ruby/setup.el +++ b/lib/extensions/ruby/setup.el @@ -70,9 +70,8 @@ "Configure Robe and inf-ruby for code completion." (with-ability ruby-code-completion (robe-mode t) - (push 'company-robe company-backends)) - - (with-ability ruby-code-completion + (define-key enh-ruby-mode-map (kbd "\C-c M-j") 'robe-start) + (push 'company-robe company-backends) (eval-after-load 'company '(add-to-list 'company-backends 'company-inf-ruby))))