 (define-key helm-map (kbd "C-k") 'helm-previous-line)
 (define-key helm-map (kbd "C-j") 'helm-next-line)
 
+(defun eslint-fix-file ()
+  (interactive)
+  (message "eslint --fixing the file" (buffer-file-name))
+  (shell-command (concat "eslint --fix " (buffer-file-name))))
+
+(defun eslint-fix-file-and-revert ()
+  (interactive)
+  (eslint-fix-file)
+  (revert-buffer t t))
+
+(evil-leader/set-key "f" 'eslint-fix-file-and-revert)
+
 (advice-add 'split-window-right :after #'balance-windows)
+(advice-add 'evil-quit :after #'balance-windows)
 
 (custom-set-variables
  ;; custom-set-variables was added by Custom.

(require 'rainbow-delimiters)
(require 'helm-ag)
(require 'org)

(require 'column-marker)
(add-hook 'js-mode-hook (lambda () (interactive) (column-marker-1 81)))

 '(custom-safe-themes
   (quote
    ("c697b65591ba1fdda42fae093563867a95046466285459bd4e686dc95a819310" default)))
 '(evil-magit-use-y-for-yank t)
 '(evilem-style (quote at))
 '(flycheck-eslintrc "./.eslintrc")
 '(flycheck-highlighting-mode (quote symbols))
