General cleanup: reorganising snippets, tidying if statements, documenting functions

This commit is contained in:
trémeur 2023-02-16 18:36:59 +00:00
parent 18c64c71c4
commit 4aa4de17f5
30 changed files with 128 additions and 99 deletions

View file

@ -0,0 +1,4 @@
# name: chose-not-to-warn
# key: ficcntw
# --
&nbsp;<span title="$1" style="background-color:#eb7d10;color:white; font-family:serif">&nbsp;!<small>?</small>&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: explicit
# key: fice
# --
&nbsp;<span title="$1" style="background-color:#9c0000;color:white; font-family:serif">&nbsp;E&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: femslash
# key: ficfemslash
# --
&nbsp;<span title="$1" style="background-color:#d50636;color:white; font-family:serif">&nbsp;♀&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: general
# key: ficg
# --
&nbsp;<span style="background-color:#8ab60b;color:white; font-family:serif">&nbsp;G&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: gen
# key: ficgen
# --
&nbsp;<span style="background-color:#8ab60b;color:white; font-family:serif">&nbsp;☉&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: het
# key: fichet
# --
&nbsp;<span title="$1" style="background-color:#670840;color:white; font-family:serif">&nbsp;⚤&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: mature
# key: ficm
# --
&nbsp;<span title="$1" style="background-color:#eb7d10;color:white; font-family:serif">&nbsp;M&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: multi
# key: ficmulti
# --
&nbsp;<span title="$1"><span style="background:linear-gradient(0deg, rgba(160,0,24,1) 0%, rgba(160,0,24,1) 49%, rgba(171,203,0,1) 50%, rgba(171,203,0,1) 100%);">&nbsp;&nbsp;</span><span style="background: linear-gradient(0deg, rgba(0,51,148,1) 0%, rgba(0,51,148,1) 49%, rgba(129,0,108,1) 50%, rgba(129,0,108,1) 100%);">&nbsp;&nbsp;</span></span>$0

View file

@ -0,0 +1,4 @@
# name: other
# key: ficother
# --
&nbsp;<span title="$1" style="background-color:black;color:white; font-family:serif">&nbsp;☿&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: slash
# key: ficslash
# --
&nbsp;<span title="$1" style="background-color:#1256b6;color:white; font-family:serif">&nbsp;♂&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: teen
# key: fict
# --
&nbsp;<span title="$1" style="background-color:#e8d405;color:white; font-family:serif">&nbsp;T&nbsp;</span>$0

View file

@ -0,0 +1,4 @@
# name: archive-warnings
# key: ficwarnings
# --
&nbsp;<span title="$1" style="background-color:#9c0000;color:white; font-family:serif">&nbsp;!&nbsp;</span>$0

View file

@ -0,0 +1,6 @@
# name: git-token
# key: git
# --
`(with-temp-buffer
(insert-file-contents "~/Documents/drive/token-t29")
(buffer-string))`$0

View file

@ -0,0 +1,6 @@
# name: insert-time
# key: time
# type: command
# binding: C-x t
# --
(insert (format-time-string "%H:%M"))