diff --git a/custom/setup-helm-gtags.el b/custom/setup-helm-gtags.el index 46988fd..09b7e09 100644 --- a/custom/setup-helm-gtags.el +++ b/custom/setup-helm-gtags.el @@ -7,4 +7,13 @@ (add-hook 'java-mode-hook 'helm-gtags-mode) (add-hook 'asm-mode-hook 'helm-gtags-mode) +;; customize behaviour +(custom-set-variables + '(helm-gtags-auto-update t)) + +(global-set-key (kbd "M-.") 'helm-gtags-find-tag-from-here) +(global-set-key (kbd "M-,") 'helm-gtags-pop-stack) +(global-set-key (kbd "C-c C-f") 'helm-gtags-find-files) +(global-set-key (kbd "C-c g f") 'helm-gtags-parse-file) + (provide 'setup-helm-gtags)