Skip to content

Commit

Permalink
Add gitignore-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rynffoll authored and CodingSolo committed Oct 29, 2018
1 parent d2fb30e commit c893949
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions layers/+source-control/git/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
gitattributes-mode
gitconfig-mode
gitignore-mode
gitignore-templates
git-commit
git-link
git-messenger
Expand Down Expand Up @@ -114,6 +115,15 @@
(use-package gitignore-mode
:defer t))

(defun git/init-gitignore-templates ()
(use-package gitignore-templates
:defer t
:init
(spacemacs/set-leader-keys-for-major-mode 'gitignore-mode
"i" 'gitignore-templates-insert)
(spacemacs/set-leader-keys
"gfi" 'gitignore-templates-new-file)))

(defun git/init-magit ()
(use-package magit
:defer (spacemacs/defer)
Expand Down

0 comments on commit c893949

Please sign in to comment.