 (if (file-exists-p "~/.mu4e/mu4e.suse.el")
     (load-file "~/.mu4e/mu4e.suse.el"))
 
+;; Org mode
+(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
+
+;; org-trello major mode for all .trello files
+(add-to-list 'auto-mode-alist '("\\.trello$" . org-mode))
+
+;; add a hook function to check if this is trello file, then activate the org-trello minor mode.
+(add-hook 'org-mode-hook
+          (lambda ()
+            (let ((filename (buffer-file-name (current-buffer))))
+              (when (and filename (string= "trello" (file-name-extension filename)))
+              (org-trello-mode)))))
+
 (provide 'init)
 ;;; init.el ends here


(add-hook 'Buffer-menu-mode-hook 'buffer-disable-undo)

(cua-mode 1)
(setq shift-select-mode nil)
(setq x-alt-keysym 'meta)


    jsx-mode
    company
    flycheck-pyflakes
    go-mode
    paredit
    magit
    org
    org-bullets
    org-trello
    calfw)
  "A list of packages to ensure are installed at launch.")

(defun required-packages-installed-p ()
