 ;; turn of the menu bars
 (menu-bar-mode 0)
 (if (boundp 'tool-bar-mode) (tool-bar-mode 0))
+
+(ensure-package-installed 'auto-complete)
+(require 'auto-complete)
 
 (show-paren-mode 1)
 ;; Show matching paren offscreen in the minibuffer

 'gitconfig-mode
 'gitignore-mode
 'jinja2-mode
 'markdown-mode
 'scss-mode
 'web-mode


;; refresh package listings
(when (not package-archive-contents)
  (package-refresh-contents))

(defun ensure-package-installed (&rest packages)
  "Assure every package is installed, ask for installation if it’s not.
