   :ensure t
   :pin manual
   :config
-  (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)))
+  (add-hook 'org-mode-hook 'turn-on-font-lock)
+  (add-hook 'org-mode-hook 'flyspell-mode)
+  (add-hook 'org-agenda-mode-hook 'magit-keys)
+  :mode
+  ("\\.org$" . org-mode)
+  )
 
 (use-package org-bullets
   :ensure t

  :config
  (aggressive-indent-global-mode t)
  )

;;----------------------------------ASPEL-DICTIONARY-------------
(use-package ispell
  :ensure t)

;;----------------------------------Yas-snippets-------------
(use-package yasnippet
  :ensure t
  :load-path "~/.emacs.d/elpa/snippets"
  :config
  (yas-global-mode 1)
  )
