Break apart siren-helm module into individual files

This commit is contained in:
2017-12-17 03:18:48 +00:00
parent 913d503da0
commit 3c3b6bab04
7 changed files with 106 additions and 41 deletions

View File

@@ -31,6 +31,11 @@
(require 'siren-goto-symbol)
(require 'siren-haml)
(require 'siren-helm)
(require 'siren-helm-ag)
(require 'siren-helm-gtags)
(require 'siren-helm-open-github)
(require 'siren-helm-projectile)
(require 'siren-helm-swoop)
(require 'siren-ido)
(require 'siren-linum)
(require 'siren-linum-relative)

21
modules/siren-helm-ag.el Normal file
View File

@@ -0,0 +1,21 @@
;;; siren-helm-ag.el --- jimeh's Emacs Siren: helm-ag configuration.
;;; Commentary:
;; Basic configuration for helm-ag.
;;; Code:
(require 'siren-helm)
(use-package helm-ag
:bind
("C-c C-s" . helm-do-ag)
("C-x C-'" . helm-do-ag-project-root)
:config
(setq helm-ag-ignore-patterns '("*.sql" "archive-contents")
helm-ag-source-type "file-line"))
(provide 'siren-helm-ag)
;;; siren-helm-ag.el ends here

View File

@@ -0,0 +1,20 @@
;;; siren-helm-gtags.el --- jimeh's Emacs Siren: helm-gtags configuration.
;;; Commentary:
;; Basic configuration for helm-gtags.
;;; Code:
(require 'siren-helm)
(use-package helm-gtags
:defer t
:config
(setq helm-gtags-auto-update t
helm-gtags-direct-helm-completing t
helm-gtags-fuzzy-match t
helm-gtags-ignore-case t))
(provide 'siren-helm-gtags)
;;; siren-helm-gtags.el ends here

View File

@@ -0,0 +1,22 @@
;;; siren-helm-open-github.el --- jimeh's Emacs Siren: helm-open-github configuration.
;;; Commentary:
;; Basic configuration for helm-open-github.
;;; Code:
(require 'siren-helm)
(use-package helm-open-github
:bind
("C-c o f" . helm-open-github-from-file)
("C-c o c" . helm-open-github-from-commit)
("C-c o i" . helm-open-github-from-issues)
("C-c o p" . helm-open-github-from-pull-requests)
:config
(setq helm-open-github-commit-limit 10000))
(provide 'siren-helm-open-github)
;;; siren-helm-open-github.el ends here

View File

@@ -0,0 +1,19 @@
;;; siren-helm-projectile.el --- jimeh's Emacs Siren: helm-projectile configuration.
;;; Commentary:
;; Basic configuration for helm-projectile.
;;; Code:
(require 'siren-helm)
(use-package helm-projectile
:bind
("C-x ;" . helm-projectile)
("C-x C-;" . helm-projectile)
("C-c ;" . helm-projectile-switch-project)
("C-c C-;" . helm-projectile-switch-project))
(provide 'siren-helm-projectile)
;;; siren-helm-projectile.el ends here

View File

@@ -0,0 +1,19 @@
;;; siren-helm-swoop.el --- jimeh's Emacs Siren: helm-swoop configuration.
;;; Commentary:
;; Basic configuration for helm-swoop.
;;; Code:
(require 'siren-helm)
(use-package helm-swoop
:bind
("M-r" . helm-swoop-without-pre-input)
("M-R" . helm-swoop-back-to-last-point)
("C-c M-r" . helm-multi-swoop)
("C-x M-r" . helm-multi-swoop-all))
(provide 'siren-helm-swoop)
;;; siren-helm-swoop.el ends here

View File

@@ -11,52 +11,11 @@
:config
(setq helm-autoresize-mode 1))
(use-package helm-ag
:bind
("C-c C-s" . helm-do-ag)
("C-x C-'" . helm-do-ag-project-root)
:config
(setq helm-ag-ignore-patterns '("*.sql" "archive-contents")
helm-ag-source-type "file-line"))
(use-package helm-descbinds
:defer t)
(use-package helm-describe-modes
:defer t)
(use-package helm-gtags
:defer t
:config
(setq helm-gtags-auto-update t
helm-gtags-direct-helm-completing t
helm-gtags-fuzzy-match t
helm-gtags-ignore-case t))
(use-package helm-open-github
:bind
("C-c o f" . helm-open-github-from-file)
("C-c o c" . helm-open-github-from-commit)
("C-c o i" . helm-open-github-from-issues)
("C-c o p" . helm-open-github-from-pull-requests)
:config
(setq helm-open-github-commit-limit 10000))
(use-package helm-projectile
:bind
("C-x ;" . helm-projectile)
("C-x C-;" . helm-projectile)
("C-c ;" . helm-projectile-switch-project)
("C-c C-;" . helm-projectile-switch-project))
(use-package helm-swoop
:bind
("M-r" . helm-swoop-without-pre-input)
("M-R" . helm-swoop-back-to-last-point)
("C-c M-r" . helm-multi-swoop)
("C-x M-r" . helm-multi-swoop-all))
(provide 'siren-helm)
;;; siren-helm.el ends here