                                     company-dabbrev
                                     company-files)))))
   (add-hook 'c-mode-hook 'flycheck-mode)
-  ;; (add-hook 'c-mode-hook 'ede-enable-generic-projects)
+  (add-hook 'c-mode-hook 'semantic-mode)
+  (add-hook 'c-mode-hook 'global-ede-mode)
+  ;; (add-hook 'c-mode-hook 'global-srecode-minor-mode)
   (add-hook 'c-mode-hook 'irony-mode)
   (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)
   (add-hook 'irony-mode-hook 'flycheck-irony-setup)

  :bind
  (:map c-mode-map
        ("C-c ."      . semantic-ia-fast-jump)
        ("C-c ^"      . senator-go-to-up-reference)
        ("s-<return>" . srefactor-refactor-at-point)
        ("C-c C-r e"  . emr-show-refactor-menu)

                                  (define-key irony-mode-map [remap complete-symbol]
                                    'irony-completion-at-point-async))))
  (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)
  (add-hook 'c-mode-hook 'function-args-mode)
  (add-hook 'c-mode-hook 'fa-config-default)
  (add-hook 'c-mode-hook 'hs-minor-mode)
