Enable multiple mode by default
* ggtags-mode * helm-gtags-mode * projectile-mode
This commit is contained in:
parent
0ebc978317
commit
a0f16d7b44
9
init.el
9
init.el
@ -118,11 +118,12 @@
|
|||||||
|
|
||||||
(add-hook 'c-mode-hook
|
(add-hook 'c-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(helm-gtags-mode)
|
(helm-gtags-mode t)
|
||||||
|
(ggtags-mode 1)
|
||||||
(which-func-mode)
|
(which-func-mode)
|
||||||
(flyspell-prog-mode)))
|
(flyspell-prog-mode)))
|
||||||
(add-hook 'c-mode-common-hook
|
(add-hook 'c-mode-common-hook
|
||||||
(lambda()
|
(lambda ()
|
||||||
(local-set-key (kbd "C-c o") 'ff-find-other-file)))
|
(local-set-key (kbd "C-c o") 'ff-find-other-file)))
|
||||||
|
|
||||||
(eval-after-load "helm-gtags"
|
(eval-after-load "helm-gtags"
|
||||||
@ -338,3 +339,7 @@ Version 2016-02-16"
|
|||||||
(global-origami-mode t)
|
(global-origami-mode t)
|
||||||
(show-paren-mode t)
|
(show-paren-mode t)
|
||||||
(global-set-key (kbd "M-i") 'helm-swoop)
|
(global-set-key (kbd "M-i") 'helm-swoop)
|
||||||
|
|
||||||
|
(projectile-global-mode)
|
||||||
|
(setq projectile-completion-system 'helm)
|
||||||
|
(helm-projectile-on)
|
||||||
|
Loading…
Reference in New Issue
Block a user