 (global-set-key (kbd "<f6>") 'ivy-resume)
 (define-key ivy-minibuffer-map (kbd "C-j") 'ivy-next-line)
 (define-key ivy-minibuffer-map (kbd "C-k") 'ivy-previous-line)
-
+;; eshell terminal bindings
+(global-set-key (kbd "C-`") 'ab/new-eshell-in-split)
+(global-set-key (kbd "C-~") 'ab/new-eshell)
 
 ;; autocomplete
 (use-package company

  (message "tslint --fixing the file" (buffer-file-name))
  (call-process-shell-command (concat "tslint --fix --config " (projectile-project-root) "tslint.json " (buffer-file-name) " &") nil 0))
  ;; (revert-buffer t t))

;; Toggle Window Maximize
;; Credit: https://github.com/hlissner/doom-emacs/blob/59a6cb72be1d5f706590208d2ca5213f5a837deb/core/autoload/ui.el#L106



;;; customize eshell prompt
(setq eshell-prompt-function #'ab/eshell-prompt-function)
(setq comint-prompt-read-only t)
(setq eshell-scroll-to-bottom-on-input t)
;;; terminate eshell window on exit
(advice-add 'eshell-life-is-too-much :after 'ab/eshell-kill-window-on-exit)

;;; Projectile
(use-package projectile
