aboutsummaryrefslogtreecommitdiff
path: root/plugins/shortcuts
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-23 11:14:29 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-23 11:14:29 -0300
commitb4c3e3a0e3195633d574f0080f7f06a31e8f60a5 (patch)
treee5f0d919ac9cf13f3750362481f596285993bee9 /plugins/shortcuts
parent8707adb983ccbdce189656e8c302a0ed8e05e26f (diff)
add anna's archive shortcut
Diffstat (limited to 'plugins/shortcuts')
-rw-r--r--plugins/shortcuts/shortcuts.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/shortcuts/shortcuts.c b/plugins/shortcuts/shortcuts.c
index 4b41c1c..32c9cd6 100644
--- a/plugins/shortcuts/shortcuts.c
+++ b/plugins/shortcuts/shortcuts.c
@@ -31,21 +31,24 @@ int shortcut_expand(const char* uri, char* output)
strcpy(tmp_output, output);
char* shortcuts[] = {
- "!x",
+ "!aa",
"!blog",
"!fnf",
"!fnc",
+ "!h"
"!hn",
"!hnb"
+ "!x",
};
char* expansions[] = {
- "https://twitter.com",
+ "https://annas-archive.org",
"https://nunosempere.com/blog",
"https://forum.nunosempere.com/frontpage",
"https://forum.nunosempere.com/comments",
"https://news.ycombinator.com",
"https://news.ycombinator.com/best",
+ "https://twitter.com",
};
// len = sizeof(shortcuts) / sizeof(shortcuts[0]);