aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-04-23 06:53:55 +0100
committerStephen Blott2016-04-23 07:16:33 +0100
commit98ea279485fc456bbe4349559f9c08a24e2c4214 (patch)
treefb50db6f3c2e27b103a1ce9bdcb15c397011ec6a /background_scripts
parent546d8b91c2e0991c410a42b2098ff1d478f24c73 (diff)
downloadvimium-98ea279485fc456bbe4349559f9c08a24e2c4214.tar.bz2
Show tip re. clicking command names.
It's pretty undiscoverable that you can click command names to yank them. So, this adds a tip to the bottom of the help dialog. Also, change the cursor to a pointer when hovering over command names.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 653b61e7..5d1ab864 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -91,6 +91,7 @@ getHelpDialogHtml = ({showUnboundCommands, showCommandNames, customTitle}) ->
replacementStrings =
version: currentVersion
title: customTitle || "Help"
+ tip: if showCommandNames then "Tip: click command names to yank them to the clipboard." else ""
for own group of Commands.commandGroups
replacementStrings[group] =