Add github-clone to github layer
- allows cloning and forking from within emacs
This commit is contained in:
parent
3c7658daa6
commit
9bcd40b7b0
|
@ -10,6 +10,7 @@
|
|||
- [[Key Bindings][Key Bindings]]
|
||||
- [[magit-gh-pulls][magit-gh-pulls]]
|
||||
- [[gist.el][gist.el]]
|
||||
- [[Clone repositories][Clone repositories]]
|
||||
- [[Browse files][Browse files]]
|
||||
|
||||
* Description
|
||||
|
@ -21,6 +22,7 @@ This layers adds support for [[http://github.com][Github]].
|
|||
- [[https://github.com/defunkt/gist.el][gist.el]]: full-featured mode to browse and post Github gists.
|
||||
- [[https://github.com/osener/github-browse-file][github-browse-file]] and [[https://github.com/sshaw/git-link][git-link]]: quickly browse github URL in your
|
||||
browser.
|
||||
- [[https://github.com/dgtized/github-clone.el][Github clone]] allows for easy cloning and forking of repositories.
|
||||
|
||||
* Install
|
||||
|
||||
|
@ -80,6 +82,12 @@ In the gist list buffer:
|
|||
| ~V~ | =visual-line state= |
|
||||
| ~y~ | print URL and copy it |
|
||||
|
||||
** Clone repositories
|
||||
|
||||
| Key Binding | Description |
|
||||
|-------------+--------------------------------------|
|
||||
| ~SPC g c~ | clone and optionally fork repository |
|
||||
|
||||
** Browse files
|
||||
|
||||
| Key Binding | Description |
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
gist
|
||||
git-link
|
||||
github-browse-file
|
||||
github-clone
|
||||
;; not up to date
|
||||
;; helm-gist
|
||||
magit-gh-pulls
|
||||
|
@ -62,6 +63,13 @@
|
|||
(evil-leader/set-key
|
||||
"gfb" 'github-browse-file)))
|
||||
|
||||
(defun github/init-github-clone ()
|
||||
(use-package github-clone
|
||||
:defer t
|
||||
:init
|
||||
(evil-leader/set-key
|
||||
"gc" 'github-clone)))
|
||||
|
||||
(defun github/init-git-link ()
|
||||
(use-package git-link
|
||||
:defer t
|
||||
|
|
Loading…
Reference in New Issue