From 9c77e9bd25d1c48179fac7de2e50ca2040c8a12a Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Tue, 11 Sep 2018 22:21:50 +0300 Subject: [PATCH] Update dash configuration for Ruby --- 05prog-mode.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/05prog-mode.el b/05prog-mode.el index 06596c2..5c0a091 100644 --- a/05prog-mode.el +++ b/05prog-mode.el @@ -29,8 +29,11 @@ ;;; When pasting/writing over a selection, replace it. (delete-selection-mode 1) -;; Key bindings +;; Dash (define-key prog-mode-map (kbd "C-d") 'dash-at-point) ;; Jump to dash definition +(add-to-list + 'dash-at-point-mode-alist + '(enh-ruby-mode . "ruby,rubygems,rails")) ;; Configure lookup for Ruby mode ;; When possible, show code documentation (global-eldoc-mode 1)