Add module ggtags
This commit is contained in:
parent
9d9f289b26
commit
060a54ff1b
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -16,3 +16,6 @@
|
|||||||
[submodule "move-line"]
|
[submodule "move-line"]
|
||||||
path = move-line
|
path = move-line
|
||||||
url = git://github.com/nflath/move-line.git
|
url = git://github.com/nflath/move-line.git
|
||||||
|
[submodule "ggtags"]
|
||||||
|
path = ggtags
|
||||||
|
url = https://github.com/leoliu/ggtags.git
|
||||||
|
1
ggtags
Submodule
1
ggtags
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 24fdf7ecd721f117976f2310a2db02dea4e33d85
|
9
init.el
9
init.el
@ -44,6 +44,7 @@
|
|||||||
(add-to-list 'load-path "~/.emacs.d/helm")
|
(add-to-list 'load-path "~/.emacs.d/helm")
|
||||||
(add-to-list 'load-path "~/.emacs.d/emacs-helm-gtags")
|
(add-to-list 'load-path "~/.emacs.d/emacs-helm-gtags")
|
||||||
(add-to-list 'load-path "~/.emacs.d/move-line")
|
(add-to-list 'load-path "~/.emacs.d/move-line")
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/ggtags")
|
||||||
|
|
||||||
; Nyanyanyanyanya
|
; Nyanyanyanyanya
|
||||||
(require 'nyan-mode)
|
(require 'nyan-mode)
|
||||||
@ -52,6 +53,7 @@
|
|||||||
(require 'move-line)
|
(require 'move-line)
|
||||||
(require 'whitespace)
|
(require 'whitespace)
|
||||||
(require 'rcirc)
|
(require 'rcirc)
|
||||||
|
(require 'ggtags)
|
||||||
|
|
||||||
(nyan-mode t)
|
(nyan-mode t)
|
||||||
|
|
||||||
@ -205,10 +207,15 @@
|
|||||||
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
|
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
|
||||||
|
|
||||||
(add-hook 'after-init-hook 'global-company-mode)
|
(add-hook 'after-init-hook 'global-company-mode)
|
||||||
|
(add-hook 'c-mode-common-hook
|
||||||
|
(lambda ()
|
||||||
|
(when (derived-mode-p 'c-mode 'c++-mode 'java-mode)
|
||||||
|
(ggtags-mode 1))))
|
||||||
|
(add-hook 'after-init-hook 'fiplr-clear-cache)
|
||||||
|
|
||||||
(setq rcirc-default-nick "GergelyPolonkai")
|
(setq rcirc-default-nick "GergelyPolonkai")
|
||||||
(setq rcirc-default-user-name "polesz")
|
(setq rcirc-default-user-name "polesz")
|
||||||
(setq rcirc-default-full-name "Gergely Polonkai")
|
(setq rcirc-default-full-name "Gergely Polonkai")
|
||||||
(add-hook 'after-init-hook 'fiplr-clear-cache)
|
|
||||||
|
|
||||||
(defun delete-current-line ()
|
(defun delete-current-line ()
|
||||||
"Kill the whole line on which point is"
|
"Kill the whole line on which point is"
|
||||||
|
Loading…
Reference in New Issue
Block a user