aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorilya2010-01-03 23:27:08 -0800
committerilya2010-01-03 23:27:08 -0800
commit684715730414a26a8177d65730908acc0440158a (patch)
treeda3988bead413fe649f2ed97861f9dff60d6d731 /background_page.html
parent48fadb34a0cb596d69655e6979f9292084d3a0b2 (diff)
downloadvimium-684715730414a26a8177d65730908acc0440158a.tar.bz2
Implement 'y' -- yank (copy) the current tab's url to the clipboard.
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index 61c6cf91..1c514ed5 100644
--- a/background_page.html
+++ b/background_page.html
@@ -247,6 +247,8 @@
keyToCommandRegistry['n'] = 'performFind';
keyToCommandRegistry['N'] = 'performBackwardsFind';
+ keyToCommandRegistry['y'] = 'copyCurrentUrl';
+
keyToCommandRegistry['J'] = nextTab;
keyToCommandRegistry['K'] = previousTab;
keyToCommandRegistry['gt'] = nextTab;