Add helm-gtags section
This commit is contained in:
parent
27b84978a7
commit
dc8880dfc1
2 changed files with 23 additions and 19 deletions
|
|
@ -1,19 +0,0 @@
|
|||
(require 'helm-gtags)
|
||||
|
||||
;; Enable helm-gtags-mode in languages that GNU Global supports
|
||||
(add-hook 'c-mode-hook 'helm-gtags-mode)
|
||||
(add-hook 'c++-mode-hook 'helm-gtags-mode)
|
||||
(add-hook 'python-mode-hook 'helm-gtags-mode)
|
||||
(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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue