From 7211aa562b716776756493559b8138bc45ce44c1 Mon Sep 17 00:00:00 2001 From: bard Date: Tue, 24 Oct 2023 06:59:38 -0400 Subject: more helm gtags customization --- bard-emacs-modules/bard-emacs-package.el | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bard-emacs-modules/bard-emacs-package.el b/bard-emacs-modules/bard-emacs-package.el index c358481..4c26f57 100644 --- a/bard-emacs-modules/bard-emacs-package.el +++ b/bard-emacs-modules/bard-emacs-package.el @@ -258,7 +258,19 @@ (add-hook 'dired-mode-hook 'helm-gtags-mode) (add-hook 'eshell-mode-hook 'helm-gtags-mode) (add-hook 'c-mode-hook 'helm-gtags-mode) - (add-hook 'c++-mode-hook 'helm-gtags-mode)) + (add-hook 'c++-mode-hook 'helm-gtags-mode) + + (setq + helm-gtags-ignore-case t + helm-gtags-auto-update t + helm-gtags-use-input-at-cursor t + helm-gtags-pulse-at-cursor t + helm-gtags-prefix-key "\C-cg" + helm-gtags-suggested-key-mapping t) + + (define-key helm-gtags-mode-map (kbd "C-c g a") 'helm-gtags-tags-in-this-function) + (define-key helm-gtags-mode-map (kbd "C-j") 'helm-gtags-select) + (define-key helm-gtags-mode-map (kbd "M-.") 'helm-gtags-dwim)) (use-package aweshell :quelpa (abc-mode :fetcher github :repo "manateelazycat/aweshell") -- cgit v1.2.3