diff options
author | Alan Pearce | 2014-07-04 21:06:50 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-04 21:06:50 +0100 |
commit | bdeabfbb3bb204b641e38c9ce59e7bfa6374945d (patch) | |
tree | 4efdb625787b968da24dfd862ea357e0c36dddbc /tag-emacs | |
parent | 75df2061a259258d85de7663d9f5e1dbc71a0ca8 (diff) | |
download | dotfiles-bdeabfbb3bb204b641e38c9ce59e7bfa6374945d.tar.lz dotfiles-bdeabfbb3bb204b641e38c9ce59e7bfa6374945d.tar.zst dotfiles-bdeabfbb3bb204b641e38c9ce59e7bfa6374945d.zip |
Emacs: Add configuration for ggtags-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 4305625..041f553 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -603,6 +603,15 @@ :config (progn (setq go-projectile-switch-gopath 'maybe))) +(req-package ggtags + :config (progn + (bind-key "q" #'ggtags-navigation-mode-abort)) + :init (progn + (defun turn-on-ggtags-mode () + (interactive) + (ggtags-mode 1)) + (add-hook 'c-mode-common-hook #'turn-on-ggtags-mode))) + (req-package auto-compile :defer t :init (add-hook 'emacs-lisp-mode-hook #'auto-compile-on-save-mode)) |