summaryrefslogtreecommitdiff
path: root/src/ui/keys.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-30 13:27:03 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-30 13:27:03 +0200
commite36bed146728f93d5be8a9b84d8756f0b5ccaada (patch)
tree96d695fd3ce1e0404e2326cb02e1fafe996b14e7 /src/ui/keys.c
parent084da73bd33bea50a811f72b15117be967a5f674 (diff)
Added "Edit Page with Titan"
A convenient way to copy the current page's source and open the Titan upload dialog with it prefilled. IssueID #415
Diffstat (limited to 'src/ui/keys.c')
-rw-r--r--src/ui/keys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c
index 30072572..d4d9320e 100644
--- a/src/ui/keys.c
+++ b/src/ui/keys.c
@@ -240,6 +240,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =
240 { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, 240 { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 },
241 { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, 241 { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 },
242 { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, 242 { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 },
243 { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 },
243 /* The following cannot currently be changed (built-in duplicates). */ 244 /* The following cannot currently be changed (built-in duplicates). */
244#if defined (iPlatformApple) 245#if defined (iPlatformApple)
245 { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 }, 246 { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 },