Add magit and dependencies as submodule

This commit is contained in:
Marcus Kammer 2019-05-04 23:52:20 +02:00
parent 27c8c6fbd1
commit 02af55bf70
7 changed files with 30 additions and 1 deletions

15
.gitmodules vendored
View file

@ -7,3 +7,18 @@
[submodule "bundle/markdown-mode"]
path = bundle/markdown-mode
url = https://github.com/jrblevin/markdown-mode.git
[submodule "bundle/magit"]
path = bundle/magit
url = https://github.com/magit/magit
[submodule "bundle/dash"]
path = bundle/dash
url = https://github.com/magnars/dash.el.git
[submodule "bundle/hydra"]
path = bundle/hydra
url = https://github.com/abo-abo/hydra.git
[submodule "bundle/transient"]
path = bundle/transient
url = https://github.com/magit/transient.git
[submodule "bundle/with-editor"]
path = bundle/with-editor
url = https://github.com/magit/with-editor.git

1
bundle/dash Submodule

@ -0,0 +1 @@
Subproject commit 258c324d9840901db83b2cabef3fa75bba57c1ba

1
bundle/hydra Submodule

@ -0,0 +1 @@
Subproject commit acb69859f3dde8d6924587f39997320256bdd85d

1
bundle/magit Submodule

@ -0,0 +1 @@
Subproject commit 91da0fcf48642ecd489cbc027e60497eeec04fbc

1
bundle/transient Submodule

@ -0,0 +1 @@
Subproject commit 17ad01e0c724aa07d77a27836ea5a38f1a9882e0

1
bundle/with-editor Submodule

@ -0,0 +1 @@
Subproject commit 38df9bfc2227bcb7ac4899c83a03756d5f171450

11
init.el
View file

@ -40,12 +40,22 @@
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/linum-relative"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/markdown-mode"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/transient/lisp"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/hydra"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/dash"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/with-editor"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/magit/lisp"))
;; required packages
;;(require 'rst)
(require 'fill-column-indicator)
(require 'linum-relative)
(require 'markdown-mode)
(require 'dash)
(require 'hydra)
(require 'transient)
(require 'with-editor)
(require 'magit)
;; configurations
(setq-default indent-tabs-mode nil)
@ -56,7 +66,6 @@
(setq font-lock-maximum-decoration t)
(setq inhibit-startup-screen t initial-buffer-choice t)
;; set modes
(line-number-mode -1)
(column-number-mode -1)