 
 (use-package magit
   :ensure t
-  :bind
-  (:map ska-ctrl-v-map 
-        ([(control g)] . magit-status)))
+  :chords (("GG" . magit-status))
+  ;; :bind
+  ;; (:map ska-ctrl-v-map 
+  ;;       ([(g)] . magit-status))
+  :config
+  (setq magit-display-buffer-function
+        #'magit-display-buffer-same-window-except-diff-v1))
 
 (use-package org
   :ensure t

  (add-to-list 'auto-mode-alist '("\\.boot$"  . clojure-mode))
  (add-to-list 'magic-mode-alist '(".* boot" . clojure-mode))
  (add-hook 'clojure-mode-hook #'subword-mode)
  (add-hook 'clojure-mode-hook #'auto-fill-mode))

(use-package cider
  :ensure t
  :pin melpa-stable
  :init
  (setq cider-use-tooltips nil ; breaks mouse selection for me
        cider-repl-tab-command 'indent-for-tab-command
        cider-repl-history-file "~/.emacs.d/cider-history.eld"
        cider-auto-select-error-buffer t

     (append
      (list
       "~/.emacs.d/lisp"
       )
      load-path))

