 		      clojure-mode
 		      clojure-test-mode
 		      cider
+          company
+          company-cider
 		      magit
 		      magit-filenotify
 		      ahg

(projectile-global-mode)
(global-rainbow-delimiters-mode)

;; keyboard bindings for lookup
(define-key 'help-command (kbd "C-l") 'find-library)
(define-key 'help-command (kbd "C-f") 'find-function)
(define-key 'help-command (kbd "C-k") 'find-function-on-key)
(define-key 'help-command (kbd "C-v") 'find-variable)

(defadvice 4clojure-open-question (around 4clojure-open-question-around)
  "Start a cider/nREPL connection if one hasn't already been started when

  ad-do-it
  (unless cider-current-clojure-buffer
    (cider-jack-in)))

;;
;; ace jump mode major function
;; 
(add-to-list 'load-path "/full/path/where/ace-jump-mode.el/in/")
(autoload
  'ace-jump-mode
  "ace-jump-mode"
  "Emacs quick move minor mode"
  t)
;; you can select the key you prefer to
(define-key global-map (kbd "C-c SPC") 'ace-jump-mode)

(defun 4clojure-login (user pwd)
  "Login to 4clojure"
