Added template for userscripts.
This commit is contained in:
parent
13536dd91d
commit
f40640bfcf
18
auto-insert/user.js
Normal file
18
auto-insert/user.js
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// ==UserScript==
|
||||||
|
// @name $1
|
||||||
|
// @description $2
|
||||||
|
// @version `(format-time-string "%Y.%m.%d.1")`
|
||||||
|
// @author `user-full-name`
|
||||||
|
// @copyright `(format-time-string "%Y")`, `user-full-name` (https://tastytea.de/)
|
||||||
|
// @license GPL-3.0-only
|
||||||
|
// @namespace tastytea.de
|
||||||
|
// @homepageURL ${3:https://schlomp.space/tastytea/userscripts}
|
||||||
|
// @supportURL $3/issues
|
||||||
|
// @downloadURL $3/raw/branch/main/¡CHECKME!`(file-name-nondirectory (buffer-file-name))`
|
||||||
|
// @grant none
|
||||||
|
// @match https://*$4
|
||||||
|
// @run-at document-end
|
||||||
|
// @inject-into content
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
$0
|
5
init.el
5
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-05-28T20:39:03+00:00>
|
;; Time-stamp: <2019-05-29T00:04:52+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -676,6 +676,9 @@ With argument, do this that many times."
|
||||||
(add-to-list 'auto-insert-alist
|
(add-to-list 'auto-insert-alist
|
||||||
'(("\\.[1-9]\\.adoc\\'" . "AsciiDoc manpage") .
|
'(("\\.[1-9]\\.adoc\\'" . "AsciiDoc manpage") .
|
||||||
["manpage.adoc" my/autoinsert-yas-expand]))
|
["manpage.adoc" my/autoinsert-yas-expand]))
|
||||||
|
(add-to-list 'auto-insert-alist
|
||||||
|
'(("\\.user.js\\'" . "Userscript") .
|
||||||
|
["user.js" my/autoinsert-yas-expand]))
|
||||||
:custom
|
:custom
|
||||||
(auto-insert-directory (concat user-emacs-directory "auto-insert"))
|
(auto-insert-directory (concat user-emacs-directory "auto-insert"))
|
||||||
(auto-insert-query nil) ; Don't ask before inserting.
|
(auto-insert-query nil) ; Don't ask before inserting.
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
127.0.0.1:51313 21291
|
127.0.0.1:51313 26184
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user