Update dash configuration for Ruby
This commit is contained in:
parent
d01b5194d2
commit
9c77e9bd25
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue