   ;; (delete '(scheme-mode . semantic-default-scheme-setup) semantic-new-buffer-setup-functions)
   (bind-keys :map prog-mode-map
              ("<C-tab>" . company-complete)
-             ("C-." . counsel-semantic-or-imenu)))
+             ("C-." . helm-imenu-in-all-buffers)))  ;; counsel-semantic-or-imenu)))
 
 (add-hook 'text-mode-hook 'auto-fill-mode)
 (add-hook 'text-mode-hook 'my-non-special-modes-setup)
 (add-hook 'diff-mode-hook 'my-non-special-modes-setup)
 
 (add-hook 'prog-mode-hook 'my-prog-modes-hook)
+
+(require 'helm-xref)
+(setq xref-show-xrefs-function 'helm-xref-show-xrefs)
 
 (require 'smartparens-config)
 ;;(add-hook 'prog-mode-hook 'turn-on-smartparens-strict-mode)

(add-hook 'find-file-hooks 'vc-darcs-find-file-hook)

(require 'dumb-jump)
(setq dumb-jump-selector 'ivy
      dumb-jump-prefer-searcher 'rg)
;; because https://github.com/jacktasia/dumb-jump/issues/129

(require 'js2-mode)
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))

                     highlight-symbol
                     company
                     elpy
                     geiser
                     slime
                     slime-company
                     cff
