 
 (defun close-help-window ()
   (interactive)
-  (delete-window (get-buffer-window "*Help*"))) 
+  (let ((w (get-buffer-window "*Help*")))
+    (if w (delete-window w)))) 
+
+(defun move-forward ()
+  (interactive)
+  (forward-char)
+  (close-help-window))
+
+(defun move-backward ()
+  (interactive)
+  (backward-char)
+  (close-help-window))
+
+(defun move-up ()
+  (interactive)
+  (evil-previous-line)
+  (close-help-window))
+
+(defun move-down ()
+  (interactive)
+  (evil-next-line)
+  (close-help-window))
 
 ;; Minimal UI
 (scroll-bar-mode -1)

(define-key evil-normal-state-map (kbd "J") 'close-help-window)
(define-key evil-normal-state-map (kbd "C-g") 'helm-imenu)
(define-key evil-normal-state-map (kbd "C-p") 'helm-projectile-find-file)

;; git
(use-package magit

  :ensure t
  :hook (after-init . doom-modeline-mode))
  :init (setq doom-modeline-height 20)
(set-face-attribute 'mode-line nil
   :background "#353535")
(set-face-attribute 'mode-line-inactive nil
