From be8c8836737983d900a0743605ab4da2001898d7 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 1 Aug 2020 14:35:11 -0400 Subject: [PATCH] feat(gs/emacs): Use semantic imenu in cpp buffers Change-Id: Icec8ddb8230102286510d6af025bf19cdb33d0d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1542 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/emacs.d/cpp.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/users/glittershark/emacs.d/cpp.el b/users/glittershark/emacs.d/cpp.el index 0fe2d1726..3f118ec37 100644 --- a/users/glittershark/emacs.d/cpp.el +++ b/users/glittershark/emacs.d/cpp.el @@ -26,6 +26,11 @@ :config (add-hook 'c-mode-common-hook #'clang-format+-mode)) +(map! + (:map c++-mode-map + :leader + (:n "/ i" #'counsel-semantic-or-imenu))) + (comment (setq lsp-clients-clangd-executable