Remove depreciated github layer

and ignore flycheck_packages temp files
This commit is contained in:
Maxi Wolff 2022-07-31 16:52:10 +02:00
parent 84d0bb3c4f
commit 4c9cd947a0
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
5 changed files with 1 additions and 114 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
*.elc
*.pyc
*.stackdump
*.flycheck_packages.el
/*.zip
.DS_Store
.ac-php-conf.json

View File

@ -1,46 +0,0 @@
#+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 |

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,25 +0,0 @@
;;; layers.el --- GitHub layer layers File for Spacemacs
;;
;; Copyright (c) 2012-2022 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(configuration-layer/declare-layer-dependencies '(version-control))

View File

@ -1,43 +0,0 @@
;;; packages.el --- Github Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2022 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;; Package deprecation notice shown at startup
(warn "`github' layer is deprecated. See layer README.org for details.")
(defconst github-packages
'(
grip-mode
;; this package does not exits, we need it to wrap
;; the call to spacemacs/declare-prefix.
(spacemacs-github :location built-in)))
(defun github/init-grip-mode ()
(use-package grip-mode
:defer t
:init
(progn
(spacemacs/set-leader-keys
"ghp" 'grip-mode))))
(defun github/init-spacemacs-github ()
(spacemacs/declare-prefix "gh" "github"))