                                    " ConstructorInitializerIndentWidth: 2,"
                                    " ContinuationIndentWidth: 2,"
                                    " Standard: C++11}"))
+  (add-hook 'c-mode-common-hook
+            (lambda ()
+              (define-key c-mode-base-map (kbd "C-M-\\") 'clang-format-region)
+              (define-key c-mode-base-map (kbd "C-i") 'clang-format)))
   :config
   ;; without -sort-includes option:
   (defun clang-format-region (char-start char-end &optional style)

;; (add-to-list 'company-backends 'company-irony)
;; ;; (setq company-idle-delay 0.1)
;; (add-hook 'prog-mode-hook (lambda () (company-mode 1)))

                  (message "(clang-format: incomplete (syntax errors)%s)" stderr)
                (message "(clang-format: success%s)" stderr))))
        (delete-file temp-file)
        (when (buffer-name temp-buffer) (kill-buffer temp-buffer))))))

(use-package rtags
  ;; https://github.com/Andersbakken/rtags + https://github.com/rizsotto/Bear
