Compare commits
No commits in common. "245a3b0d3b9757be867b18bcb2f14907791ed9de" and "813d5f9e179cdcf5a1f4a911ea4bb28526e31df5" have entirely different histories.
245a3b0d3b
...
813d5f9e17
@ -70,12 +70,4 @@
|
||||
:general
|
||||
([remap dabbrev-expand] #'hippie-expand))
|
||||
|
||||
(use-package grep
|
||||
:straight (:type built-in)
|
||||
:if (executable-find "rg")
|
||||
:config
|
||||
(setq grep-program "rg")
|
||||
:custom
|
||||
(grep-command "rg --color=always --with-filename --line-number --null -e "))
|
||||
|
||||
(provide 'init-built-ins)
|
||||
|
@ -18,16 +18,7 @@
|
||||
:commands (inf-ruby inf-ruby-console-auto)
|
||||
:general
|
||||
([remap inf-ruby] #'inf-ruby-console-auto)
|
||||
:hook (after-init . inf-ruby-switch-setup)
|
||||
:config
|
||||
(defun inf-ruby-process-carriage-return (output)
|
||||
(let ((processed (replace-regexp-in-string ".*\r" "" output)))
|
||||
(if (string-match-p "\\`\n" processed)
|
||||
(replace-regexp-in-string "\\`\n" "" processed)
|
||||
processed)))
|
||||
(defun inf-ruby-carriage-return-hook ()
|
||||
(add-hook 'comint-preoutput-filter-functions #'inf-ruby-process-carriage-return nil t))
|
||||
(add-hook 'inf-ruby-mode-hook #'inf-ruby-carriage-return-hook))
|
||||
:hook (after-init . inf-ruby-switch-setup))
|
||||
|
||||
(use-package rbenv
|
||||
:hook (after-init . global-rbenv-mode)
|
||||
@ -69,13 +60,9 @@
|
||||
"Runs RSpec on all related specs for the Ruby files changed between the current branch and TARGET-BRANCH."
|
||||
(interactive)
|
||||
(rspec--run-verify-changed t))
|
||||
(defun rspec-dired-verify-marked ()
|
||||
(interactive)
|
||||
(rspec-run-multiple-files (dired-get-marked-files) (rspec-core-options)))
|
||||
:general
|
||||
(rspec-mode-map "C-c , g" #'rspec-verify-changed
|
||||
"C-c , G" #'rspec-verify-changed-related)
|
||||
(rspec-dired-mode-map "C-c , m" #'rspec-dired-verify-marked)
|
||||
(rspec-verifiable-mode-map "C-c , g" #'rspec-verify-changed
|
||||
"C-c , G" #'rspec-verify-changed-related)
|
||||
:custom
|
||||
|
@ -42,7 +42,6 @@
|
||||
;; Buffer and window layout management
|
||||
(setopt switch-to-buffer-in-dedicated-window 'pop
|
||||
split-height-threshold 116
|
||||
split-width-threshold 216
|
||||
window-sides-slots '(1 0 0 1)
|
||||
display-buffer-alist '(("\\*Help\\*"
|
||||
(display-buffer-reuse-window
|
||||
|
Loading…
Reference in New Issue
Block a user