 (tool-bar-mode -1)
 (toggle-frame-maximized)
 
+;; Basic editior stuff
+(setq-default indent-tabs-mode nil)
+
 ;; All packages which are installed
 ;; evil
 ;; helm

;; evil-leader
;; projectile
;; helm-projectile

;; Evil Mode
(setq evil-want-C-u-scroll t)
(global-evil-leader-mode)
(evil-leader/set-leader "<SPC>")
(require 'evil)


(helm-mode 1)

;; Projectile
(projectile-mode +1)
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
(setq projectile-completion-system 'helm)
(helm-projectile-on)

(use-package dashboard
  :ensure t
  :init
  (setq dashboard-items '((recents  . 5)
			  (bookmarks . 5)
			  (projects . 5)
			  (agenda . 5)
			  (registers . 5)))
  :config
  (dashboard-setup-startup-hook))

;; Treemacs
(use-package treemacs
  :ensure t
  :defer t)

(use-package treemacs-projectile
  :after treemacs projectile
  :ensure t)

;; (use-package treemacs-evil
;;   :after treemacs evil
;;   :ensure t)

;; (use-package treemacs-magit
;;   :after treemacs magit
;;   :ensure t)

;; ORG Mode
(setq org-todo-keywords
  '((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE")))

;; Elpy & Python
(use-package elpy
  :ensure t
  :config
  (if (executable-find "python3")
      (progn
        (setq elpy-rpc-python-command "python3")
        (setq python-shell-interpreter "python3")))

  (setq elpy-rpc-python-command "/usr/local/bin/python3")
  ;; (use-package pyvenv
  ;;   :ensure t
  ;;   :config
  ;;   (pyvenv-workon "dotfiles"))

  ;; (use-package jedi
  ;;   :ensure t)

  ;; Automatically run Black on buffer save
  (add-hook 'elpy-mode-hook
            '(lambda ()
               (when (eq major-mode 'python-mode)
                 (add-hook 'before-save-hook 'elpy-black-fix-code))))

  ;; Use flycheck instead of flymake
  (when (require 'flycheck nil t)
    (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
    (add-hook 'elpy-mode-hook 'flycheck-mode))

  (elpy-enable)

  ;;(setq elpy-rpc-backend "jedi")
 )


(custom-set-variables
