   (if (rtags-is-indexed)
       (rtags-imenu)
     (helm-semantic-or-imenu nil)))
-
-;; https://github.com/Andersbakken/rtags + https://github.com/rizsotto/Bear
-;; to create compile_commands.json: bear scons
 
 (defun my-prog-mode-hook ()
   (highlight-symbol-mode)


(with-eval-after-load 'company
  (diminish 'company-mode)
  (setq company-idle-delay 0.1)
  (define-key company-active-map (kbd "\C-n") 'company-select-next)
  (define-key company-active-map (kbd "\C-p") 'company-select-previous)
  (define-key company-active-map (kbd "\C-d") 'company-show-doc-buffer)

(define-key helm-swoop-map (kbd "C-s") 'helm-next-line)
(global-set-key (kbd "M-i") 'helm-swoop)

(setq projectile-enable-caching t)
(projectile-global-mode)
(diminish 'projectile-mode)
