 
 (setenv "PAGER" (executable-find "cat"))
 
-(bind-key "C-c t" '(lambda ()
-                     (interactive)
-                     (crux-start-or-switch-to 'shell "*shell*")))
+(bind-key "C-c t" #'(lambda ()
+                      (interactive)
+                      (crux-start-or-switch-to 'shell "*shell*")))
 
 (require 'volatile-highlights)
 (volatile-highlights-mode t)


(require 'compile)
(bind-key "C-c C-t"
          '(lambda ()
             (interactive)
             (compilation-set-skip-threshold (mod (1+ compilation-skip-threshold) 3)))
          compilation-mode-map)
(setq compile-command "ninja")


(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-a" 'crux-move-beginning-of-line)
(bind-key "C-c d" 'crux-duplicate-current-line-or-region)
