diff options
| author | ilya | 2009-10-28 23:38:24 -0700 |
|---|---|---|
| committer | ilya | 2009-10-28 23:38:24 -0700 |
| commit | f758035242958bdabb2eb525edc0d3a8919b3bdf (patch) | |
| tree | 18336dcd66883d0d40dcc308123ef65e72554166 /background_page.html | |
| parent | 4d7e3f41fbdde0c240b9efeb3c4219ed5fdbbd3c (diff) | |
| download | vimium-f758035242958bdabb2eb525edc0d3a8919b3bdf.tar.bz2 | |
Implement basic h,j,k,l navigation and remove the unnecessary registry in the content script.
Diffstat (limited to 'background_page.html')
| -rw-r--r-- | background_page.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html index d175c9b2..b31a911d 100644 --- a/background_page.html +++ b/background_page.html @@ -17,6 +17,10 @@ } var keyToCommandRegistry = {}; + keyToCommandRegistry['j'] = 'scrollDown'; + keyToCommandRegistry['k'] = 'scrollUp'; + keyToCommandRegistry['h'] = 'scrollLeft'; + keyToCommandRegistry['l'] = 'scrollRight'; keyToCommandRegistry['gg'] = 'scrollToTop'; keyToCommandRegistry['G'] = 'scrollToBottom'; keyToCommandRegistry['t'] = createTab; |
