aboutsummaryrefslogtreecommitdiffstats
path: root/doom-emacs/.doom.d/modules
diff options
context:
space:
mode:
Diffstat (limited to 'doom-emacs/.doom.d/modules')
-rw-r--r--doom-emacs/.doom.d/modules/tools/cc-ide/config.el61
-rw-r--r--doom-emacs/.doom.d/modules/tools/cc-ide/packages.el10
2 files changed, 0 insertions, 71 deletions
diff --git a/doom-emacs/.doom.d/modules/tools/cc-ide/config.el b/doom-emacs/.doom.d/modules/tools/cc-ide/config.el
deleted file mode 100644
index c96fd19..0000000
--- a/doom-emacs/.doom.d/modules/tools/cc-ide/config.el
+++ /dev/null
@@ -1,61 +0,0 @@
-;;; tools/gtags/config.el -*- lexical-binding: t; -*-
-
-(use-package! ggtags
- :unless (or (featurep! :completion ivy) (featurep! :completion helm))
- :config
- (add-hook! (c-mode c++-mode java-mode asm-mode) (ggtags-mode 1))
- (map! :map ggtags-mode-map
- "C-c g s" 'ggtags-find-other-symbol
- "C-c g h" 'ggtags-view-tag-history
- "C-c g r" 'ggtags-find-reference
- "C-c g f" 'ggtags-find-file
- "C-c g c" 'ggtags-create-tags
- "C-c g u" 'ggtags-update-tags
- "M-," 'pop-tag-mark)
- (setq-hook! 'ggtags-mode-hook imenu-create-index-function 'ggtags-build-imenu-index)
- )
-
-(use-package! helm-gtags
- :when (featurep! :completion helm)
- :after helm
- :init
- (setq! helm-gtags-ignore-case t
- helm-gtags-auto-update t
- helm-gtags-use-input-at-cursor t
- helm-gtags-pulse-at-cursor t
- helm-gtags-prefix-key "\C-cg"
- helm-gtags-suggested-key-mapping t)
- :config
- (add-hook! (dired-mode eshell-mode c-mode c++-mode asm-mode) (helm-gtags-mode))
- (map! :map helm-gtags-mode-map
- "C-c g a" 'helm-gtags-tags-in-this-function
- "C-j" 'helm-gtags-select
- "M-." 'helm-gtags-dwim
- "M-," 'helm-gtags-pop-stack
- "C-c <" 'helm-gtags-previous-history
- "C-c >" 'helm-gtags-next-history)
- )
-
-(use-package! counsel-gtags
- :when (featurep! :completion ivy)
- :after ivy
- :config
- (add-hook! (c-mode c++-mode asm-mode) #'counsel-gtags-mode)
- (map! :map counsel-gtags-mode-map
- "C-c g t" 'counsel-gtags-find-definition
- "C-c g r" 'counsel-gtags-find-reference
- "C-c g s" 'counsel-gtags-find-symbol
- "C-c g f" 'counsel-gtags-find-file
- "C-c g c" 'counsel-gtags-create-tags
- "C-c g u" 'counsel-gtags-update-tags
- "M-," 'counsel-gtags-dwim
- "C-c <" 'counsel-gtags-go-backward
- "C-c >" 'counsel-gtags-go-forward)
- )
-
-(use-package! function-args
- :init
- (setq-default semantic-case-fold t)
- :config
- (add-hook! (c-mode c++-mode asm-mode) #'function-args-mode)
- )
diff --git a/doom-emacs/.doom.d/modules/tools/cc-ide/packages.el b/doom-emacs/.doom.d/modules/tools/cc-ide/packages.el
deleted file mode 100644
index f4840d5..0000000
--- a/doom-emacs/.doom.d/modules/tools/cc-ide/packages.el
+++ /dev/null
@@ -1,10 +0,0 @@
-;; -*- no-byte-compile: t; -*-
-;;; tools/gtags/packages.el
-
-(if (featurep! :completion ivy)
- (package! counsel-gtags)
- (if (featurep! :completion helm)
- (package! helm-gtags)
- (package! ggtags)))
-
-(package! function-args)