               (when (eq major-mode 'fundamental-mode)
                 (hack-local-variables))))
 
+;; (add-hook 'lisp-mode-hook #'evil-cleverparens-mode)
+(add-hook 'clojure-mode-hook #'evil-cleverparens-mode)
+
 (setq evil-snipe-override-evil-repeat-keys nil)
 (setq doom-localleader-key ",")
 (setq doom-localleader-alt-key "M-,")
 
+;; clojure
+(after! cider
+  (setq cider-repl-pop-to-buffer-on-connect nil)
+  (setq cider-repl-display-in-current-window t))
+
 (map! :leader
       :desc "Slurp from forward"
-      "0" #'paredit-forward-slurp-sexp)
+      ;; "0" #'paredit-forward-slurp-sexp)
+      "0" #'evil-cp->)
 
 (map! :leader
       :desc "Slurp from backword"
-      "9" #'paredit-backward-slurp-sexp)
+      ;; "9" #'paredit-backward-slurp-sexp)
+      "9" #'evil-cp-<)
 
 (map! :leader
       :desc "Barf from forward"

;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-one)
(setq doom-font (font-spec :family "Fira Mono" :size 20))

;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/org/")

;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)


;; Here are some additional functions/macros that could help you configure Doom:
;;


;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets.
(setq user-full-name "Mitesh Shah"
      user-mail-address "mitesh@miteshshah.com")

;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
;; are the three important ones:
