   :defer t
   :commands lsp
   :hook ((c-mode c++-mode objc-mode) . lsp)
+  :bind
+  ("C-c f d" . lsp-find-definition)
+  ("C-c f r" . lsp-find-references)
+  ("C-c f p" . xref-pop-marker-stack)
   :config
   (use-package lsp-ui
     :ensure t
     :after (lsp-mode)
-    :hook (lsp-mode . lsp-ui-mode))
+    :hook (lsp-mode . lsp-ui-mode)
+    :bind
+    ("C-c f u" . lsp-ui-imenu)
+    ("C-c f D" . lsp-ui-peek-find-definitions)
+    ("C-c f R" . lsp-ui-peek-find-references)
+    :config
+    (setq lsp-ui-flycheck-enable t))
 
   ;; Servers
   ;; I need high Sierra or newer for brew install ccls (replaces cquery)

 '(org-agenda-files nil)
 '(package-selected-packages
   (quote
    (modern-cpp-font-lock ccls lsp-ui company-lsp elfeed company-shell flyspell-correct flyspell-correct-helm intero haskell-mode json-mode hydra cmake-mode emms magit smartparens rainbow-delimiters yaml-mode wc-mode elpy reverse-theme python-environment popup polymode markdown-mode julia-mode jedi-core jedi ess epc deferred ctable concurrent auto-complete auctex matlab-mode clang-format avy helm-make helm-gtags helm-git-grep helm-projectile projectile diminish use-package bind-key)))
 '(user-full-name "Marc Henry de Frahan"))
(set-face-attribute 'default nil :height 110)


    :config
    (define-key isearch-mode-map (kbd "C-c g") 'helm-git-grep-from-isearch)
    (define-key helm-map (kbd "C-c g") 'helm-git-grep-from-helm))

  (use-package helm-make
    :ensure    helm-make)
