 Alternatively, use `doom/window-enlargen'."
   (interactive)
   (setq doom--maximize-last-wconf
-     (if (and (null (cdr (cl-remove-if #'window-dedicated-p (window-list))))
+        (if (and (null (cdr (cl-remove-if #'window-dedicated-p (window-list))))
                  doom--maximize-last-wconf)
             (ignore (set-window-configuration doom--maximize-last-wconf))
           (prog1 (current-window-configuration)

(global-set-key "\C-s" 'swiper)
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x :") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function)

(global-set-key (kbd "C-c k") 'counsel-ag)
(global-set-key (kbd "C-x l") 'counsel-locate)
(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history)
(global-set-key (kbd "M-x") nil)


;;; VTerm
