From ffc0fdf5da2b5f31034802ef5feaa5eec0d7d247 Mon Sep 17 00:00:00 2001 From: ilya Date: Sun, 17 Jan 2010 23:47:25 -0800 Subject: Bring the README fully up to date. --- README.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index e3d0a4cd..b73c6c18 100644 --- a/README.markdown +++ b/README.markdown @@ -56,8 +56,8 @@ Manipulating tabs: d close current tab u restore closed tab (i.e. unwind the 'd' command) -Vimium supports command repetition so, for example, hitting '5t' will open 5 tabs in rapid succession. ESC -will clear any partial commands in the queue. +Vimium supports command repetition so, for example, hitting '5t' will open 5 tabs in rapid succession. ESC (or +) will clear any partial commands in the queue. Contributing ------------ @@ -73,6 +73,9 @@ Release Notes - Commands and to scroll a full page up or down. - Bugfixes related to entering insert mode when the page first loads, and when focusing Flash embeds. +- Added command listing to the settings page for easy reference. +- J & K have reversed for tab switching. J goes left and K goes right. +- is now equivalent to ESC. 1.11, 1.12 (01/08/2010) -- cgit v1.2.3 From 30b2879cc0f80b377e00cd1e1f8fb8232e47904a Mon Sep 17 00:00:00 2001 From: ilya Date: Sun, 17 Jan 2010 23:53:52 -0800 Subject: Bring the CREDITS file up to date. --- CREDITS | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CREDITS b/CREDITS index 22c56028..8baece39 100644 --- a/CREDITS +++ b/CREDITS @@ -3,5 +3,10 @@ Authors & Maintainers: Phil Crosby (github: philc) Contributors: - lack acrollet + akhilman + drizzd + lack + markstos + +Feel free to add real names in addition to GitHub usernames. -- cgit v1.2.3 From aaf0183dbab5ae168d1d7460693110378df81c81 Mon Sep 17 00:00:00 2001 From: ilya Date: Sun, 17 Jan 2010 23:56:26 -0800 Subject: Fix up the c-[ patch a bit. --- vimiumFrontend.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vimiumFrontend.js b/vimiumFrontend.js index fef755e4..3eed1c3d 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -237,7 +237,7 @@ function getKeyChar(event) { return String.fromCharCode(parseInt(unicodeKeyInHex)).toLowerCase(); } -function isCtrl(event) { +function isPrimaryModifierKey(event) { if (platform == "Mac") return event.metaKey; else @@ -245,8 +245,8 @@ function isCtrl(event) { } function isEscape(event) { - return event.keyCode == keyCodes.ESC || - (isCtrl(event) && getKeyChar(event) == '['); + return event.keyCode == keyCodes.ESC || + (event.ctrlKey && getKeyChar(event) == '['); // c-[ is mapped to ESC in Vim by default. } /** @@ -267,7 +267,7 @@ function onKeydown(event) { keyChar = getKeyChar(event); // Enter insert mode when the user enables the native find interface. - if (keyChar == "f" && !event.shiftKey && isCtrl(event)) + if (keyChar == "f" && !event.shiftKey && isPrimaryModifierKey(event)) { enterInsertMode(); return; -- cgit v1.2.3 From d87be6be1e1581166035105db3c7872de4f74e21 Mon Sep 17 00:00:00 2001 From: Clemens Buchacher Date: Sun, 17 Jan 2010 18:41:31 +0800 Subject: add scroll keys and --- background_page.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/background_page.html b/background_page.html index 1c326cba..4ce68c1b 100644 --- a/background_page.html +++ b/background_page.html @@ -224,6 +224,8 @@ keyToCommandRegistry['l'] = 'scrollRight'; keyToCommandRegistry['gg'] = 'scrollToTop'; keyToCommandRegistry['G'] = 'scrollToBottom'; + keyToCommandRegistry[''] = 'scrollDown'; + keyToCommandRegistry[''] = 'scrollUp'; keyToCommandRegistry[''] = "scrollPageDown"; keyToCommandRegistry[''] = "scrollPageUp"; keyToCommandRegistry[''] = "scrollFullPageDown"; -- cgit v1.2.3 From 8e345cc0889b2c5f6e50c271b6596878e20c5498 Mon Sep 17 00:00:00 2001 From: ilya Date: Mon, 18 Jan 2010 00:02:09 -0800 Subject: Update command listing with , . --- README.markdown | 4 ++-- settings.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index b73c6c18..1a82aaef 100644 --- a/README.markdown +++ b/README.markdown @@ -29,8 +29,8 @@ Navigating the current page: l scroll right gg scroll to top of the page G scroll to bottom of the page - scroll down a page - scroll up a page + , scroll down a page + , scroll up a page scroll down a full page scroll up a full page f activate link hints mode to open in current page diff --git a/settings.html b/settings.html index a7d84e3f..c26307fb 100644 --- a/settings.html +++ b/settings.html @@ -108,8 +108,8 @@ Navigating the current page: l scroll right gg scroll to top of the page G scroll to bottom of the page - <c-d> scroll down a page - <c-u> scroll up a page + <c-d>, <c-e> scroll down a page + <c-u>, <c-y> scroll up a page <c-f> scroll down a full page <c-b> scroll up a full page f activate link hints mode to open in current page -- cgit v1.2.3 From 5d39bb72428fa3b06c06298b4f2f253031266a04 Mon Sep 17 00:00:00 2001 From: ilya Date: Mon, 18 Jan 2010 00:03:11 -0800 Subject: , in release notes. --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index 1a82aaef..680a8b15 100644 --- a/README.markdown +++ b/README.markdown @@ -76,6 +76,7 @@ Release Notes - Added command listing to the settings page for easy reference. - J & K have reversed for tab switching. J goes left and K goes right. - is now equivalent to ESC. +- & are now mapped to scroll down and up respectively. 1.11, 1.12 (01/08/2010) -- cgit v1.2.3 From 4ac5eb502b3bae6eff714b0915ee1d9c3f143153 Mon Sep 17 00:00:00 2001 From: ilya Date: Mon, 18 Jan 2010 00:38:30 -0800 Subject: Typo on the settings page. Thanks DFectuoso. --- settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.html b/settings.html index c26307fb..970fd2e2 100644 --- a/settings.html +++ b/settings.html @@ -95,7 +95,7 @@ - +

Command Reference

-- 
cgit v1.2.3