     (eshell 'N)))
 (defun ab/new-eshell-in-split ()
   "create a new eshell in new split.
-if in eshell already create a vertical split,
+if in eshell already; create a vertical split,
 otherwise create a horizontal split"
   (interactive)
   (if (derived-mode-p 'eshell-mode)

;; hopefully improve flickering
(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))

;; add custom scripts to path
(add-to-list 'load-path (expand-file-name "~/dotfiles/emacs/vanilla/libs"))


(global-set-key (kbd "C-n %") 'ab/window-split-right)
(global-set-key (kbd "C-n \"") 'ab/window-split-down)
(global-set-key (kbd "C-n x") 'evil-window-delete)
(global-set-key (kbd "C-n b b") 'projectile-switch-to-buffer)
(global-set-key (kbd "C-n b n") 'projectile-next-project-buffer)
(global-set-key (kbd "C-n b p") 'projectile-previous-project-buffer)
(global-set-key (kbd "C-n b x") 'kill-buffer)
