From 6ede8a8c058130740a50fdbc4a66321b942848a5 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 21 Oct 2017 07:22:02 +0900 Subject: [PATCH 1/2] use kbd tags in README --- README.md | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index f742d42..066a706 100644 --- a/README.md +++ b/README.md @@ -14,45 +14,45 @@ The default mapping are shown in the following. #### Console -- `:`: open console -- `o`,`t`,`w`: open a page in current tab, new tab, or new window -- `O`,`T`,`W`: similar to `o`,`t`,`w`, but that contains current URL -- `b`: Select tabs by URL or title +- :: open console +- o, t, w: open a page in current tab, new tab, or new window +- O, T, W: similar to o, t, w, but that contains current URL +- b: Select tabs by URL or title #### Scrolling -- `j`,`k`: scroll vertically -- `h`,`l`: scroll horizontally -- ``,``: scroll pages by half of screen -- ``,``: scroll pages by a screen -- `0`,`$`: scroll a page to leftmost/rightmost -- `gg`,`G`: scroll to top/bottom +- j, k: scroll vertically +- h, l: scroll horizontally +- Ctrl+U, Ctrl+D: scroll pages by half of screen +- Ctrl+B, Ctrl+F: scroll pages by a screen +- 0, $: scroll a page to leftmost/rightmost +- gg, G: scroll to top/bottom #### Tabs -- `d`: delete current tab -- `u`: reopen close tab -- `K`/`J`: select prev/next tab -- `r`: reload current tab -- `R`: reload current tab without cache +- d: delete current tab +- u: reopen close tab +- K, J: select prev or next tab +- r: reload current tab +- R: reload current tab without cache ### Navigation -- `f`: start following links in the page -- `H`: go back in histories -- `L`: go forward in histories -- `[[`,`]]`: find prev/next links and open it -- `gu`: go to parent directory -- `gU`: go to root directory +- f: start following links in the page +- H: go back in histories +- L: go forward in histories +- [[, ]]: find prev or next links and open it +- gu: go to parent directory +- gU: go to root directory #### Misc -- `zi`,`zo`: zoom-in/zoom-out -- `zz`: Set default zoom level -- `y`: copy URL in current tab +- zi, zo: zoom-in/zoom-out +- zz: Set default zoom level +- y: copy URL in current tab ### Console commands Vim-Vixen provides a console likes Vimperator's one. -The console is opened by `:` key or keys to open console with initial value -likes `o`, `t`, or `w` keys. +The console is opened by : key or keys to open console with initial value +likes o, t, or w keys. #### `:open` command From b13b00fd85d1f7cae3529ff02cebc3422e42b45d Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 21 Oct 2017 07:31:28 +0900 Subject: [PATCH 2/2] use kbd tags in QA --- QA.md | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/QA.md b/QA.md index 2549cc0..f9c4109 100644 --- a/QA.md +++ b/QA.md @@ -6,50 +6,50 @@ Test operations with default key maps. ##### Scrolling -- [ ] `k`/``,`j`/``: scroll up and down -- [ ] `h`,`l`: scroll left and right -- [ ] ``,``: scroll up and down by half of screen -- [ ] ``,``: scroll up and down by a screen -- [ ] `0`,`$`: scroll to leftmost and rightmost -- [ ] `gg`,`G`: scroll to top and bottom +- [ ] k or Ctrl+Y, j or Ctrl+E: scroll up and down +- [ ] h, l: scroll left and right +- [ ] Ctrl+U, Ctrl+D: scroll up and down by half of screen +- [ ] Ctrl+B, Ctrl+F: scroll up and down by a screen +- [ ] 0, $: scroll to leftmost and rightmost +- [ ] gg, G: scroll to top and bottom ##### Console The behaviors of the console are tested in [Console section](#consoles). -- [ ] `:`: open empty console -- [ ] `o`,`t`,`w`: open a console with `open`,`tabopen`,`winopen` -- [ ] `O`,`T`,`W`: open a console with `open`,`tabopen`,`winopen` and current URL -- [ ] `b`: open a consolw with `buffer` +- [ ] :: open empty console +- [ ] o, t, w: open a console with `open`, `tabopen`, `winopen` +- [ ] O, T, W: open a console with `open`, `tabopen`, `winopen` and current URL +- [ ] b: open a consolw with `buffer` ##### Tabs -- [ ] `d`: delete current tab -- [ ] `u`: reopen close tab -- [ ] `K`,`J`: select prev and next tab -- [ ] `r`: reload current tab -- [ ] `R`: reload current tab without cache +- [ ] d: delete current tab +- [ ] u: reopen close tab +- [ ] K, J: select prev and next tab +- [ ] r: reload current tab +- [ ] R: reload current tab without cache ##### Navigation -- [ ] `f`: start following links -- [ ] `F`: start following links and open in new tab -- [ ] `H`,`L`: go back and forward in histories -- [ ] `[[`,`]]`: find prev and next links and open it -- [ ] `gu`: go to parent directory -- [ ] `gU`: go to root directory +- [ ] f: start following links +- [ ] F: start following links and open in new tab +- [ ] H, L: go back and forward in histories +- [ ] [[, ]]: find prev and next links and open it +- [ ] gu: go to parent directory +- [ ] gU: go to root directory ##### Misc -- [ ] `zi`,`zo`: zoom-in and zoom-out -- [ ] `zz`: set zoom level as default -- [ ] `y`: yank current URL and show a message +- [ ] zi, zo: zoom-in and zoom-out +- [ ] zz: set zoom level as default +- [ ] y: yank current URL and show a message #### Consoles ##### Exec a command -- [ ] ``,``: do nothing +- [ ] ``, ``: do nothing
- [ ] `open an apple`: search with keywords "an apple" by default search engine (google) @@ -111,7 +111,7 @@ The behaviors of the console are tested in [Console section](#consoles). #### Events are fired on Slack and Twitter (#54) -- [ ] Fucus text box on Twitter or Slack, press `j`, then `j` is typed in the box +- [ ] Fucus text box on Twitter or Slack, press j, then j is typed in the box - [ ] Focus the text box on Twitter or Slack on following mode #### Multi frame support (#61) @@ -119,8 +119,8 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] Show hints on following on a page containing ``/`