[major-modes] Add Gemtext support
This commit is contained in:
parent
e13e8d7b54
commit
4055e49b25
|
@ -8,6 +8,7 @@
|
||||||
- [[#key-bindings][Key bindings]]
|
- [[#key-bindings][Key bindings]]
|
||||||
- [[#arch-linux-pkgbuilds][Arch Linux PKGBUILDs]]
|
- [[#arch-linux-pkgbuilds][Arch Linux PKGBUILDs]]
|
||||||
- [[#gentoo-ebuilds][Gentoo ebuilds]]
|
- [[#gentoo-ebuilds][Gentoo ebuilds]]
|
||||||
|
- [[#gemtext][Gemtext]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
This layer adds a number of packages for less common languages and major modes.
|
This layer adds a number of packages for less common languages and major modes.
|
||||||
|
@ -17,6 +18,7 @@ This layer adds a number of packages for less common languages and major modes.
|
||||||
- Arch Linux PKGBUILDs
|
- Arch Linux PKGBUILDs
|
||||||
- Arduino
|
- Arduino
|
||||||
- Android Logcat (not associated with any file types by default)
|
- Android Logcat (not associated with any file types by default)
|
||||||
|
- Gemtext
|
||||||
- Gentoo ebuilds
|
- Gentoo ebuilds
|
||||||
- Hoon
|
- Hoon
|
||||||
- MATLAB
|
- MATLAB
|
||||||
|
@ -48,3 +50,13 @@ This layer adds a number of packages for less common languages and major modes.
|
||||||
| ~SPC m k~ | Edit keywords |
|
| ~SPC m k~ | Edit keywords |
|
||||||
| ~SPC m e~ | Run ebuild command |
|
| ~SPC m e~ | Run ebuild command |
|
||||||
| ~SPC m a~ | Add ChangeLog entry |
|
| ~SPC m a~ | Add ChangeLog entry |
|
||||||
|
|
||||||
|
** Gemtext
|
||||||
|
|
||||||
|
| Key binding | Description |
|
||||||
|
|-------------+-----------------------|
|
||||||
|
| ~SPC m l~ | Insert link |
|
||||||
|
| ~SPC m o~ | Open selected link |
|
||||||
|
| ~SPC m RET~ | Insert list item |
|
||||||
|
| ~SPC m t~ | Insert timestamp |
|
||||||
|
| ~SPC m n~ | Insert tinylog header |
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
arduino-mode
|
arduino-mode
|
||||||
(ebuild-mode :location (recipe :fetcher github :repo "emacsmirror/ebuild-mode"))
|
(ebuild-mode :location (recipe :fetcher github :repo "emacsmirror/ebuild-mode"))
|
||||||
evil-matchit
|
evil-matchit
|
||||||
|
(gemini-mode :location (recipe :fetcher git :url "https://git.carcosa.net/jmcbray/gemini.el"))
|
||||||
(hoon-mode :location (recipe :fetcher github :repo "urbit/hoon-mode.el"))
|
(hoon-mode :location (recipe :fetcher github :repo "urbit/hoon-mode.el"))
|
||||||
(logcat :location (recipe :fetcher github :repo "dcolascione/logcat-mode"))
|
(logcat :location (recipe :fetcher github :repo "dcolascione/logcat-mode"))
|
||||||
matlab-mode
|
matlab-mode
|
||||||
|
@ -52,6 +53,17 @@
|
||||||
"e" 'ebuild-run-command
|
"e" 'ebuild-run-command
|
||||||
"a" 'ebuild-run-echangelog))))
|
"a" 'ebuild-run-echangelog))))
|
||||||
|
|
||||||
|
(defun major-modes/init-gemini-mode ()
|
||||||
|
(use-package gemini-mode
|
||||||
|
:init
|
||||||
|
(progn
|
||||||
|
(spacemacs/set-leader-keys-for-major-mode 'gemini-mode
|
||||||
|
"l" 'gemini-insert-link
|
||||||
|
"o" 'gemini-open-link-at-point
|
||||||
|
"RET" 'gemini-insert-list-item
|
||||||
|
"t" 'gemini-insert-time-stamp
|
||||||
|
"n" 'gemini-insert-tinylog-header))))
|
||||||
|
|
||||||
(defun major-modes/init-hoon-mode ())
|
(defun major-modes/init-hoon-mode ())
|
||||||
|
|
||||||
(defun major-modes/init-logcat ()
|
(defun major-modes/init-logcat ()
|
||||||
|
|
Loading…
Reference in New Issue