                               ) )
 
 ;;------------------------ORG-mode-----------------------------------------
-(add-to-list 'load-path "~/.emacs.d/elpa/org-mode")
-(require 'org)
-;;Make org-mode work with files ending in .org
-(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
-(require 'org-bullets)
-(setq org-ellipsis "↷");Change the elipsies org mode to this arrow #Neat
-
+
+(use-package org
+  :ensure t
+  :pin manual
+  :config
+  (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)))
+
+(use-package org-bullets
+  :ensure t
+  :config
+  (setq org-ellipsis "↷");Change the elipsies org mode to this arrow #Neat
+  )
 ;;------------------------ORG-mode-----------------------------------------
 
 ;;------------------------------------POWER-LINE-----------------------

(define-key evil-normal-state-map "n" 'scroll-up)
(define-key evil-normal-state-map "N" 'scroll-down)
(global-set-key (kbd "<f7>") 'flyspell-mode) ;Activates the spell-checker
(global-set-key (kbd "C-x g") 'magit-status)
(global-set-key (kbd "M-z") 'shell-command)
(global-set-key (kbd "C-x 2") 'my-window-split-v)
(global-set-key (kbd "C-x 3") 'my-window-split-h)

  :config
  (global-company-mode))
(use-package magit
  :bind ("C-x g" . magit-status)
  :ensure t)

;;-------------------------------------All-Funtions---------------
