Add module ggtags

This commit is contained in:
Gergely Polonkai 2014-10-10 00:08:49 +02:00
parent 9d9f289b26
commit 060a54ff1b
3 changed files with 12 additions and 1 deletions

3
.gitmodules vendored
View File

@ -16,3 +16,6 @@
[submodule "move-line"]
path = move-line
url = git://github.com/nflath/move-line.git
[submodule "ggtags"]
path = ggtags
url = https://github.com/leoliu/ggtags.git

1
ggtags Submodule

@ -0,0 +1 @@
Subproject commit 24fdf7ecd721f117976f2310a2db02dea4e33d85

View File

@ -44,6 +44,7 @@
(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/move-line")
(add-to-list 'load-path "~/.emacs.d/ggtags")
; Nyanyanyanyanya
(require 'nyan-mode)
@ -52,6 +53,7 @@
(require 'move-line)
(require 'whitespace)
(require 'rcirc)
(require 'ggtags)
(nyan-mode t)
@ -205,10 +207,15 @@
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
(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-user-name "polesz")
(setq rcirc-default-full-name "Gergely Polonkai")
(add-hook 'after-init-hook 'fiplr-clear-cache)
(defun delete-current-line ()
"Kill the whole line on which point is"