lang/cc: don't undo ivy-mode-map remapping
This commit is contained in:
parent
10110ad9d2
commit
0b2e6abac6
1 changed files with 1 additions and 2 deletions
|
@ -226,8 +226,7 @@ compilation database is present in the project.")
|
||||||
(add-hook 'doom-cleanup-hook #'rtags-cancel-process)
|
(add-hook 'doom-cleanup-hook #'rtags-cancel-process)
|
||||||
|
|
||||||
;; Use rtags-imenu instead of imenu/counsel-imenu
|
;; Use rtags-imenu instead of imenu/counsel-imenu
|
||||||
(map! (:when (featurep 'ivy) :map ivy-mode-map [remap imenu] nil)
|
(map! :map (c-mode-map c++-mode-map) [remap imenu] #'rtags-imenu)
|
||||||
:map (c-mode-map c++-mode-map) [remap imenu] #'rtags-imenu)
|
|
||||||
|
|
||||||
(add-hook 'rtags-jump-hook #'evil-set-jump)
|
(add-hook 'rtags-jump-hook #'evil-set-jump)
|
||||||
(add-hook 'rtags-after-find-file-hook #'recenter))
|
(add-hook 'rtags-after-find-file-hook #'recenter))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue