Compare commits
No commits in common. "245a3b0d3b9757be867b18bcb2f14907791ed9de" and "813d5f9e179cdcf5a1f4a911ea4bb28526e31df5" have entirely different histories.
245a3b0d3b
...
813d5f9e17
@ -70,12 +70,4 @@
|
|||||||
:general
|
:general
|
||||||
([remap dabbrev-expand] #'hippie-expand))
|
([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)
|
(provide 'init-built-ins)
|
||||||
|
@ -18,16 +18,7 @@
|
|||||||
:commands (inf-ruby inf-ruby-console-auto)
|
:commands (inf-ruby inf-ruby-console-auto)
|
||||||
:general
|
:general
|
||||||
([remap inf-ruby] #'inf-ruby-console-auto)
|
([remap inf-ruby] #'inf-ruby-console-auto)
|
||||||
:hook (after-init . inf-ruby-switch-setup)
|
: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))
|
|
||||||
|
|
||||||
(use-package rbenv
|
(use-package rbenv
|
||||||
:hook (after-init . global-rbenv-mode)
|
: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."
|
"Runs RSpec on all related specs for the Ruby files changed between the current branch and TARGET-BRANCH."
|
||||||
(interactive)
|
(interactive)
|
||||||
(rspec--run-verify-changed t))
|
(rspec--run-verify-changed t))
|
||||||
(defun rspec-dired-verify-marked ()
|
|
||||||
(interactive)
|
|
||||||
(rspec-run-multiple-files (dired-get-marked-files) (rspec-core-options)))
|
|
||||||
:general
|
:general
|
||||||
(rspec-mode-map "C-c , g" #'rspec-verify-changed
|
(rspec-mode-map "C-c , g" #'rspec-verify-changed
|
||||||
"C-c , G" #'rspec-verify-changed-related)
|
"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
|
(rspec-verifiable-mode-map "C-c , g" #'rspec-verify-changed
|
||||||
"C-c , G" #'rspec-verify-changed-related)
|
"C-c , G" #'rspec-verify-changed-related)
|
||||||
:custom
|
:custom
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
;; Buffer and window layout management
|
;; Buffer and window layout management
|
||||||
(setopt switch-to-buffer-in-dedicated-window 'pop
|
(setopt switch-to-buffer-in-dedicated-window 'pop
|
||||||
split-height-threshold 116
|
split-height-threshold 116
|
||||||
split-width-threshold 216
|
|
||||||
window-sides-slots '(1 0 0 1)
|
window-sides-slots '(1 0 0 1)
|
||||||
display-buffer-alist '(("\\*Help\\*"
|
display-buffer-alist '(("\\*Help\\*"
|
||||||
(display-buffer-reuse-window
|
(display-buffer-reuse-window
|
||||||
|
Loading…
Reference in New Issue
Block a user