Merge pull request #85 from ueokande/use-kbd-tags

Use <kbd> tags
jh-changes
Shin'ya Ueoka 7 years ago committed by GitHub
commit 941073404b
  1. 54
      QA.md
  2. 52
      README.md

54
QA.md

@ -6,44 +6,44 @@ Test operations with default key maps.
##### Scrolling ##### Scrolling
- [ ] `k`/`<C-Y>`,`j`/`<C-E>`: scroll up and down - [ ] <kbd>k</kbd> or <kbd>Ctrl</kbd>+<kbd>Y</kbd>, <kbd>j</kbd> or <kbd>Ctrl</kbd>+<kbd>E</kbd>: scroll up and down
- [ ] `h`,`l`: scroll left and right - [ ] <kbd>h</kbd>, <kbd>l</kbd>: scroll left and right
- [ ] `<C-U>`,`<C-D>`: scroll up and down by half of screen - [ ] <kbd>Ctrl</kbd>+<kbd>U</kbd>, <kbd>Ctrl</kbd>+<kbd>D</kbd>: scroll up and down by half of screen
- [ ] `<C-B>`,`<C-F>`: scroll up and down by a screen - [ ] <kbd>Ctrl</kbd>+<kbd>B</kbd>, <kbd>Ctrl</kbd>+<kbd>F</kbd>: scroll up and down by a screen
- [ ] `0`,`$`: scroll to leftmost and rightmost - [ ] <kbd>0</kbd>, <kbd>$</kbd>: scroll to leftmost and rightmost
- [ ] `gg`,`G`: scroll to top and bottom - [ ] <kbd>g</kbd><kbd>g</kbd>, <kbd>G</kbd>: scroll to top and bottom
##### Console ##### Console
The behaviors of the console are tested in [Console section](#consoles). The behaviors of the console are tested in [Console section](#consoles).
- [ ] `:`: open empty console - [ ] <kbd>:</kbd>: open empty console
- [ ] `o`,`t`,`w`: open a console with `open`,`tabopen`,`winopen` - [ ] <kbd>o</kbd>, <kbd>t</kbd>, <kbd>w</kbd>: open a console with `open`, `tabopen`, `winopen`
- [ ] `O`,`T`,`W`: open a console with `open`,`tabopen`,`winopen` and current URL - [ ] <kbd>O</kbd>, <kbd>T</kbd>, <kbd>W</kbd>: open a console with `open`, `tabopen`, `winopen` and current URL
- [ ] `b`: open a consolw with `buffer` - [ ] <kbd>b</kbd>: open a consolw with `buffer`
##### Tabs ##### Tabs
- [ ] `d`: delete current tab - [ ] <kbd>d</kbd>: delete current tab
- [ ] `u`: reopen close tab - [ ] <kbd>u</kbd>: reopen close tab
- [ ] `K`,`J`: select prev and next tab - [ ] <kbd>K</kbd>, <kbd>J</kbd>: select prev and next tab
- [ ] `r`: reload current tab - [ ] <kbd>r</kbd>: reload current tab
- [ ] `R`: reload current tab without cache - [ ] <kbd>R</kbd>: reload current tab without cache
##### Navigation ##### Navigation
- [ ] `f`: start following links - [ ] <kbd>f</kbd>: start following links
- [ ] `F`: start following links and open in new tab - [ ] <kbd>F</kbd>: start following links and open in new tab
- [ ] `H`,`L`: go back and forward in histories - [ ] <kbd>H</kbd>, <kbd>L</kbd>: go back and forward in histories
- [ ] `[[`,`]]`: find prev and next links and open it - [ ] <kbd>[</kbd><kbd>[</kbd>, <kbd>]</kbd><kbd>]</kbd>: find prev and next links and open it
- [ ] `gu`: go to parent directory - [ ] <kbd>g</kbd><kbd>u</kbd>: go to parent directory
- [ ] `gU`: go to root directory - [ ] <kbd>g</kbd><kbd>U</kbd>: go to root directory
##### Misc ##### Misc
- [ ] `zi`,`zo`: zoom-in and zoom-out - [ ] <kbd>z</kbd><kbd>i</kbd>, <kbd>z</kbd><kbd>o</kbd>: zoom-in and zoom-out
- [ ] `zz`: set zoom level as default - [ ] <kbd>z</kbd><kbd>z</kbd>: set zoom level as default
- [ ] `y`: yank current URL and show a message - [ ] <kbd>y</kbd>: yank current URL and show a message
#### Consoles #### Consoles
@ -111,7 +111,7 @@ The behaviors of the console are tested in [Console section](#consoles).
#### Events are fired on Slack and Twitter (#54) #### 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 <kbd>j</kbd>, then <kbd>j</kbd> is typed in the box
- [ ] Focus the text box on Twitter or Slack on following mode - [ ] Focus the text box on Twitter or Slack on following mode
#### Multi frame support (#61) #### 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 `<frame>`/`<iframe>` - [ ] Show hints on following on a page containing `<frame>`/`<iframe>`
- [ ] Show hints only inside viewport of the frame on following on a page containing `<frame>`/`<iframe>` - [ ] Show hints only inside viewport of the frame on following on a page containing `<frame>`/`<iframe>`
- [ ] Show hints only inside top window on following on a page containing `<frame>`/`<iframe>` - [ ] Show hints only inside top window on following on a page containing `<frame>`/`<iframe>`
- [ ] Select link and open it in the frame in `<iframe>`/`<frame`> on following by `f` - [ ] Select link and open it in the frame in `<iframe>`/`<frame`> on following by <kbd>f</kbd>
- [ ] Select link and open it in new tab in `<iframe>`/`<frame`> on following by `F` - [ ] Select link and open it in new tab in `<iframe>`/`<frame`> on following by <kbd>F</kbd>
#### Empty suggestion (#65) #### Empty suggestion (#65)

@ -14,45 +14,45 @@ The default mapping are shown in the following.
#### Console #### Console
- `:`: open console - <kbd>:</kbd>: open console
- `o`,`t`,`w`: open a page in current tab, new tab, or new window - <kbd>o</kbd>, <kbd>t</kbd>, <kbd>w</kbd>: open a page in current tab, new tab, or new window
- `O`,`T`,`W`: similar to `o`,`t`,`w`, but that contains current URL - <kbd>O</kbd>, <kbd>T</kbd>, <kbd>W</kbd>: similar to <kbd>o</kbd>, <kbd>t</kbd>, <kbd>w</kbd>, but that contains current URL
- `b`: Select tabs by URL or title - <kbd>b</kbd>: Select tabs by URL or title
#### Scrolling #### Scrolling
- `j`,`k`: scroll vertically - <kbd>j</kbd>, <kbd>k</kbd>: scroll vertically
- `h`,`l`: scroll horizontally - <kbd>h</kbd>, <kbd>l</kbd>: scroll horizontally
- `<C-U>`,`<C-D>`: scroll pages by half of screen - <kbd>Ctrl</kbd>+<kbd>U</kbd>, <kbd>Ctrl</kbd>+<kbd>D</kbd>: scroll pages by half of screen
- `<C-B>`,`<C-F>`: scroll pages by a screen - <kbd>Ctrl</kbd>+<kbd>B</kbd>, <kbd>Ctrl</kbd>+<kbd>F</kbd>: scroll pages by a screen
- `0`,`$`: scroll a page to leftmost/rightmost - <kbd>0</kbd>, <kbd>$</kbd>: scroll a page to leftmost/rightmost
- `gg`,`G`: scroll to top/bottom - <kbd>g</kbd><kbd>g</kbd>, <kbd>G</kbd>: scroll to top/bottom
#### Tabs #### Tabs
- `d`: delete current tab - <kbd>d</kbd>: delete current tab
- `u`: reopen close tab - <kbd>u</kbd>: reopen close tab
- `K`/`J`: select prev/next tab - <kbd>K</kbd>, <kbd>J</kbd>: select prev or next tab
- `r`: reload current tab - <kbd>r</kbd>: reload current tab
- `R`: reload current tab without cache - <kbd>R</kbd>: reload current tab without cache
### Navigation ### Navigation
- `f`: start following links in the page - <kbd>f</kbd>: start following links in the page
- `H`: go back in histories - <kbd>H</kbd>: go back in histories
- `L`: go forward in histories - <kbd>L</kbd>: go forward in histories
- `[[`,`]]`: find prev/next links and open it - <kbd>[</kbd><kbd>[</kbd>, <kbd>]</kbd><kbd>]</kbd>: find prev or next links and open it
- `gu`: go to parent directory - <kbd>g</kbd><kbd>u</kbd>: go to parent directory
- `gU`: go to root directory - <kbd>g</kbd><kbd>U</kbd>: go to root directory
#### Misc #### Misc
- `zi`,`zo`: zoom-in/zoom-out - <kbd>z</kbd><kbd>i</kbd>, <kbd>z</kbd><kbd>o</kbd>: zoom-in/zoom-out
- `zz`: Set default zoom level - <kbd>z</kbd><kbd>z</kbd>: Set default zoom level
- `y`: copy URL in current tab - <kbd>y</kbd>: copy URL in current tab
### Console commands ### Console commands
Vim-Vixen provides a console likes Vimperator's one. Vim-Vixen provides a console likes Vimperator's one.
The console is opened by `:` key or keys to open console with initial value The console is opened by <kbd>:</kbd> key or keys to open console with initial value
likes `o`, `t`, or `w` keys. likes <kbd>o</kbd>, <kbd>t</kbd>, or <kbd>w</kbd> keys.
#### `:open` command #### `:open` command