 (add-to-list 'transient-values '(magit-pull "--rebase"))
 ;; (bind-key "C-x M-g" 'magit-dispatch-popup)
 
-(bind-key "C-w" '(lambda ()
-                   (interactive)
-                   (if (use-region-p)
-                       (call-interactively 'kill-region)
-                     (crux-kill-whole-line))))
+(bind-key "C-w" #'(lambda ()
+                    (interactive)
+                    (if (use-region-p)
+                        (call-interactively 'kill-region)
+                      (crux-kill-whole-line))))
 
 (bind-key "C-a" 'crux-move-beginning-of-line)
 (bind-key "C-c d" 'crux-duplicate-current-line-or-region)


(bind-key "RET" 'newline-and-indent)
(bind-key "S-RET" 'crux-smart-open-line)
(bind-key "M-r" '(lambda ()
                   (interactive)
                   (call-interactively (if (get-buffer "*compilation*")
                                           'recompile
                                         'compile))))
(bind-key "M-R" 'shell-command)
;; (bind-key "M-o" 'other-window)



(setenv "PAGER" (executable-find "cat"))

(bind-key "C-c t" #'(lambda ()
                      (interactive)
                      (crux-start-or-switch-to 'shell "*shell*")))

(require 'volatile-highlights)
(volatile-highlights-mode t)
