 (use-package js2-mode
   :mode "\\.js\\'"
   :interpreter "node"
-  :config
-  (setc js-indent-level 2)
-  (setc js2-strict-missing-semi-warning nil))
+  :custom
+  (js-indent-level 2)
+  (js2-strict-missing-semi-warning nil))
 
 (use-package rjsx-mode
   :mode "\\.jsx\\'")
 
 (use-package company
- :demand t
- :bind (:map
-        company-active-map
-        ("<return>" . nil)
-        ("RET" . nil)
-        ("<C-return>" . company-complete-selection)
-        ("<tab>" . nil)
-        ("TAB" . nil)
-        ("<C-tab>" . company-complete-common-or-cycle))
- :config
- (setc company-idle-delay 0.1)
- (setc company-minimum-prefix-length 1)
- (global-company-mode))
+  :demand t
+  :bind (:map
+         company-active-map
+         ("<return>" . nil)
+         ("RET" . nil)
+         ("<C-return>" . company-complete-selection)
+         ("<tab>" . nil)
+         ("TAB" . nil)
+         ("<C-tab>" . company-complete-common-or-cycle))
+  :custom
+  (company-idle-delay 0.1)
+  (company-minimum-prefix-length 1)
+  :config
+  (global-company-mode))
 
 (use-package yasnippet
   :config

        evil-visual-state-cursor  `(,(plist-get my/base16-colors :base09) box)))

(use-package evil
  :config
  (setc evil-echo-state nil)
  (setc evil-want-fine-undo t)
  (evil-mode t))

(use-package evil-escape

  :ensure org-plus-contrib
  :pin org
  :mode ("\\.org\\'" . org-mode)
  :custom
  (org-log-note-clock-out t)
  (org-duration-format 'h:mm)
  (org-pretty-entities t)
  :config
  (use-package ox-latex
    :custom
    (org-latex-minted-options '(("breaklines" "true")
                                ("breakautoindent" "true")
                                ("breakanywhere" "true")
                                        ;("breakindentnchars" "2")
                                ))
    (org-latex-listings 'minted)
    (org-latex-pdf-process (mapcar (lambda (command) (replace-regexp-in-string (regexp-quote "%latex ") "%latex -shell-escape " command)) org-latex-pdf-process)))
  (add-to-list 'org-latex-packages-alist '("newfloat" "minted")))

(use-package writeroom-mode
  :commands writeroom-mode)
