 (global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
 (global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this)
 
-;; more friendly search/replace
-(use-package anzu
-  :config
-  (global-anzu-mode +1))
-(global-set-key [remap query-replace] 'anzu-query-replace)
-(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp)
-
 ;;; Magit
 ;; getting errors until I installed magit-popup and with-editor
 (use-package magit-popup ; make sure it is installed



;; custom keybindings for window management. same as tmux


;; custom keybindings for window management
(global-set-key (kbd "C-n z") 'doom/window-maximize-buffer)
(global-set-key (kbd "C-n h") 'windmove-left)
(global-set-key (kbd "C-n H") 'windmove-swap-states-left)

            (selected-shell (completing-read "select eshell: " (cons "new eshell" eshell-buffer-names))))
        (ab/select-or-create-eshell-name selected-shell)))))

;; eshell is somehow notorious and refusing to release C-n.
;; binding only works by using hook
(defun bind-eshell-keys()
  (evil-define-key 'normal eshell-mode-map (kbd "C-n") nil)
  (evil-define-key 'normal eshell-mode-map (kbd "i") 'ab/eshell-insert-mode)
  (evil-collection-define-key 'normal 'eshell-mode-map (kbd "C-n") nil)
  (evil-collection-define-key 'insert 'eshell-mode-map (kbd "C-n") nil))

;; customize eshell mode
(defun ab/eshell-mode-config ()
  (bind-eshell-keys)
  (setq show-trailing-whitespace nil))

;; org-babel display results in new buffer
;; credit: https://emacs.stackexchange.com/a/27190
(defun ab/org-babel-to-buffer ()
