lang/ruby: add bundler + keybinds
This commit is contained in:
parent
377dbae3fc
commit
8afbb804d9
2 changed files with 15 additions and 0 deletions
|
@ -102,6 +102,20 @@
|
||||||
:n "s" #'rspec-verify-single
|
:n "s" #'rspec-verify-single
|
||||||
:n "v" #'rspec-verify)
|
:n "v" #'rspec-verify)
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! bundler
|
||||||
|
:after enh-ruby-mode
|
||||||
|
:config
|
||||||
|
(map! :localleader
|
||||||
|
:map enh-ruby-mode-map
|
||||||
|
:prefix "b"
|
||||||
|
:n "c" #'bundle-check
|
||||||
|
:n "C" #'bundle-console
|
||||||
|
:n "i" #'bundle-install
|
||||||
|
:n "u" #'bundle-update
|
||||||
|
:n "e" #'bundle-exec
|
||||||
|
:n "o" #'bundle-open))
|
||||||
|
|
||||||
;; Evil integration
|
;; Evil integration
|
||||||
(when (featurep! :feature evil +everywhere)
|
(when (featurep! :feature evil +everywhere)
|
||||||
(add-hook! '(rspec-mode-hook rspec-verifiable-mode-hook)
|
(add-hook! '(rspec-mode-hook rspec-verifiable-mode-hook)
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
(package! yard-mode)
|
(package! yard-mode)
|
||||||
(package! rake)
|
(package! rake)
|
||||||
(package! robe)
|
(package! robe)
|
||||||
|
(package! bundler)
|
||||||
|
|
||||||
(when (featurep! :completion company)
|
(when (featurep! :completion company)
|
||||||
(package! company-inf-ruby))
|
(package! company-inf-ruby))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue