diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-08-01T18·35-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-08-01T18·37+0000 |
commit | be8c8836737983d900a0743605ab4da2001898d7 (patch) | |
tree | 5fbcb6589d071bb5b2a4ab46cee6542faafdf0e9 /users | |
parent | 717d12f2f33738898c57564bc815e3984e7f1b78 (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')
-rw-r--r-- | users/glittershark/emacs.d/cpp.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/cpp.el b/users/glittershark/emacs.d/cpp.el index 0fe2d1726c5f..3f118ec37e84 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 |