Add helm-gtags section

This commit is contained in:
laurensmiers 2018-06-12 21:19:17 +02:00
parent 27b84978a7
commit dc8880dfc1
2 changed files with 23 additions and 19 deletions

View file

@ -470,6 +470,8 @@ To be fair, I didn't test this in a while...
* Helm
** General config
#+BEGIN_SRC emacs-lisp
(use-package helm
:ensure t
@ -534,6 +536,27 @@ To be fair, I didn't test this in a while...
#+END_SRC
** Helm-gtags
#+BEGIN_SRC emacs-lisp
(use-package helm-gtags
:ensure t
:bind
( "M-." . 'helm-gtags-find-tag-from-here)
( "M-," . 'helm-gtags-pop-stack)
( "C-c f" . 'helm-gtags-find-files)
( "C-c p" . 'helm-gtags-parse-file)
:config
(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)
(custom-set-variables '(helm-gtags-auto-update t))
)
#+END_SRC
* Old stuff, maybe usefull for lookup later
** Diff mode stuff