about summary refs log tree commit diff
path: root/users/glittershark
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-01T18·35-0400
committerglittershark <grfn@gws.fyi>2020-08-01T18·37+0000
commitbe8c8836737983d900a0743605ab4da2001898d7 (patch)
tree5fbcb6589d071bb5b2a4ab46cee6542faafdf0e9 /users/glittershark
parent717d12f2f33738898c57564bc815e3984e7f1b78 (diff)
feat(gs/emacs): Use semantic imenu in cpp buffers r/1524
Change-Id: Icec8ddb8230102286510d6af025bf19cdb33d0d0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1542
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark')
-rw-r--r--users/glittershark/emacs.d/cpp.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/cpp.el b/users/glittershark/emacs.d/cpp.el
index 0fe2d1726c..3f118ec37e 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