lang/ruby: add bundler + keybinds

This commit is contained in:
Henrik Lissner 2018-09-25 16:40:23 -04:00
parent 377dbae3fc
commit 8afbb804d9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 15 additions and 0 deletions

View file

@ -102,6 +102,20 @@
:n "s" #'rspec-verify-single
: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
(when (featurep! :feature evil +everywhere)
(add-hook! '(rspec-mode-hook rspec-verifiable-mode-hook)