   :mode
   ("\\.c$" . c-mode)
   ("\\.h$" . c-mode)
+  :bind
+  (:map c-mode-map
+        ("C-c j" . semantic-ia-fast-jump)
+        ("C-c ^" . senator-go-to-up-reference)
+        ("<M-return>" . srefactor-refactor-at-point))
   :init
-  (setq c-default-style "k&r"
+  (setq c-default-style "linux"
         speedbar-show-unknow-files t
         semanticdb-default-save-directory (concat user-emacs-directory ".cache/semanticdb")
         semantic-default-submodes '(global-semantic-idle-scheduler-mode

                                    company-dabbrev-code
                                    company-dabbrev
                                    company-files)))))
  (add-hook 'c-mode-hook '(lambda () (semantic-mode t)))
  (add-hook 'c-mode-hook 'flycheck-mode)
  (add-hook 'c-mode-hook (lambda () (setq-local counsel-dash-docsets '("C"))))
  ;(add-hook 'c-mode-hook 'electric-spacing-mode)
  :config
  (add-to-list 'company-c-headers-path-system "/usr/include/c++/6.2.1"))

(use-package company-c-headers
  :ensure t)

(use-package srefactor
  :ensure t
  :bind
  (:map c-mode-map
   ("<M-return>" . srefactor-refactor-at-point)))

(provide 'mds-c-pl)
;;; mds-c-pl ends here

                                    global-semantic-decoration-mode
                                    global-semantic-stickyfunc-mode
                                    global-semantic-mru-bookmark-mode
                                    global-semantic-idle-local-symbol-highlight-mode
                                    global-semantic-highlight-edits-mode
                                    global-semantic-show-parser-state-mode
                                    global-semantic-idle-breadcrumbs-mode
                                    global-semantic-show-unmatched-syntax-mode))
  (setq company-backends (remove 'company-clang company-backends))
  (add-hook 'c-mode-hook '(lambda ()
                            (set (make-local-variable 'company-transformers)
