diff --git a/elisp/extras.el b/elisp/extras.el index f2102c9..ad360f0 100644 --- a/elisp/extras.el +++ b/elisp/extras.el @@ -80,19 +80,16 @@ :demand t :bind ("C-x g" . 'magit-status)) -;; ;; code completion +;; code completion (use-package company - :demand t - :config - (add-hook 'after-init-hook 'global-company-mode)) + :hook (after-init . global-company-mode)) (use-package tomlparse) ;; TODO I'm only using demand so is set from the start (use-package treemacs :demand t - :config - (global-set-key (kbd "") 'treemacs)) + :bind ("" . 'treemacs)) ;; Javascript and React (use-package rjsx-mode