diff options
| author | bard <[email protected]> | 2023-10-24 06:59:38 -0400 |
|---|---|---|
| committer | bard <[email protected]> | 2023-10-24 06:59:38 -0400 |
| commit | 7211aa562b716776756493559b8138bc45ce44c1 (patch) | |
| tree | 31e08c2e4f4c83429decc5271a52fdea32b0bb6d /bard-emacs-modules | |
| parent | 97f479e5da91bec3ccfea16ffe7457b096dd0770 (diff) | |
more helm gtags customization
Diffstat (limited to 'bard-emacs-modules')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-package.el | 14 |
1 files changed, 13 insertions, 1 deletions
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") |
