 (setq js-indent-level 2)
 (bind-keys :map js2-mode-map
            ("M-." . dumb-jump-go)
-           ("M-," . dumb-jump-back)
-           ("C-." . imenu))
+           ("M-," . dumb-jump-back))
 
 (quelpa '(inf-js :fetcher github :repo "velkyel/inf-js"))
 (require 'inf-js)

(require 'clang-format)
(fset 'c-indent-region 'clang-format-region)

(defun my-goto-symbol ()
  (interactive)
  (save-buffer)
  (deactivate-mark)
  (xref-push-marker-stack)
  (or (and *rtags*
           (rtags-is-indexed)
           (rtags-find-symbol-at-point))
      (dumb-jump-go)))

(bind-keys :map c-mode-base-map
           ("<C-tab>" . company-complete)
           ("C-M-\\" . clang-format-region)
           ("C-i" . clang-format)
           ("C-." . my-imenu)
           ("M-." . my-goto-symbol)
           ("M-," . xref-pop-marker-stack)
           ("M-o" . cff-find-other-file))

(when *rtags*
  (bind-key "M-?" 'rtags-display-summary c-mode-base-map))

(setq inf-clojure-program '("localhost" . 9999))   ;; "planck"
(add-hook 'clojure-mode-hook 'inf-clojure-minor-mode)

  ;; (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)))

(add-hook 'text-mode-hook 'auto-fill-mode)
(add-hook 'text-mode-hook 'my-non-special-modes-setup)
