From a0f16d7b44f72310a6b57779cc28ecc5afb82670 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 16 Sep 2016 18:10:13 +0200 Subject: [PATCH] Enable multiple mode by default * ggtags-mode * helm-gtags-mode * projectile-mode --- init.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index eef42cf..399fea4 100644 --- a/init.el +++ b/init.el @@ -118,11 +118,12 @@ (add-hook 'c-mode-hook (lambda () - (helm-gtags-mode) + (helm-gtags-mode t) + (ggtags-mode 1) (which-func-mode) (flyspell-prog-mode))) (add-hook 'c-mode-common-hook - (lambda() + (lambda () (local-set-key (kbd "C-c o") 'ff-find-other-file))) (eval-after-load "helm-gtags" @@ -338,3 +339,7 @@ Version 2016-02-16" (global-origami-mode t) (show-paren-mode t) (global-set-key (kbd "M-i") 'helm-swoop) + +(projectile-global-mode) +(setq projectile-completion-system 'helm) +(helm-projectile-on)