47 lines
1.6 KiB
Org Mode
47 lines
1.6 KiB
Org Mode
#+TITLE: GitHub layer
|
|
|
|
#+TAGS: layer|versioning
|
|
|
|
[[file:img/github.png]]
|
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
|
- [[#description][Description]]
|
|
- [[#features][Features:]]
|
|
- [[#install][Install]]
|
|
- [[#layer][Layer]]
|
|
- [[#grip-mode][grip-mode]]
|
|
- [[#key-bindings][Key bindings]]
|
|
- [[#grip-mode-1][Grip-mode]]
|
|
|
|
* Description
|
|
*This layer is deprecated*.
|
|
|
|
The layer had support searching for and cloning [[http://github.com][GitHub]] repositories,
|
|
although that did not provide a secure way to store an access token
|
|
to connect to GitHub.
|
|
|
|
The git layer provides interaction with GitHub and can securely
|
|
store the access token using PGP.
|
|
|
|
** Features:
|
|
- [[https://github.com/seagle0128/grip-mode][grip-mode]] Github-flavored Markdown/Org preview using [[https://github.com/joeyespo/grip][Grip]].
|
|
|
|
* Install
|
|
** Layer
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
|
add =github= to the existing =dotspacemacs-configuration-layers= list in this
|
|
file.
|
|
|
|
** grip-mode
|
|
Grip-mode [[https://github.com/seagle0128/grip-mode#prerequisite][requires python and the python package grip]] to be installed on the
|
|
system. Grip can usually be installed with the command =pip install grip=,
|
|
on debian based systems make sure you use the python 3 version
|
|
of pip, it is normally called =pip3=.
|
|
|
|
* Key bindings
|
|
** Grip-mode
|
|
|
|
| Key binding | Description |
|
|
|-------------+-------------------------------------------------------------|
|
|
| ~SPC g p~ | toggle github flavored mb/org buffer preview in web-browser |
|