pretty README
This commit is contained in:
parent
8080375ad3
commit
0918e43c6e
1 changed files with 112 additions and 35 deletions
147
README.md
147
README.md
|
@ -13,44 +13,121 @@ create Vim-like Firefox.
|
||||||
### Vimimum
|
### Vimimum
|
||||||
|
|
||||||
[Vimium](https://github.com/philc/vimium) is a Chrome extension which able to
|
[Vimium](https://github.com/philc/vimium) is a Chrome extension which able to
|
||||||
navigate pages in Google Chrome/Chromium. Vimium also started to suppprt on
|
navigate pages in Google Chrome/Chromium. Vimium also started to support on
|
||||||
Firefox by WebExtensions API.
|
Firefox by WebExtensions API.
|
||||||
|
|
||||||
## TODO
|
## Basic usage
|
||||||
|
|
||||||
- [ ] open command
|
### Key-maps
|
||||||
- [x] open a link
|
|
||||||
- [x] search by keywords with engined
|
The key-maps are configurable in preferences of the add-ons.
|
||||||
- [x] complete URLs from history
|
The default mapping are shown in the following.
|
||||||
- [ ] complete keywords for search
|
|
||||||
- [x] tabs navigation
|
#### Console
|
||||||
- [x] select a tabs by keyboard
|
|
||||||
- [x] close/reopen a tab
|
- `:`: open console
|
||||||
- [x] reload a page
|
- `o`,`t`,`w`: open a page in current tab, new tab, or new window
|
||||||
- [ ] buffer control
|
- `O`,`T`,`W`: similar to `o`,`t`,`w`, but that contains current URL
|
||||||
- [x] select a tab by :buffer command
|
- `b`: Select tabs by URL or title
|
||||||
- [x] buffer completion
|
|
||||||
- [ ] list buffers
|
#### Scrolling
|
||||||
- [ ] select buffer last selected
|
|
||||||
- [ ] discover a content
|
- `k`,`k`: scroll vertically
|
||||||
- [x] scroll a page by keyboard
|
- `h`,`l`: scroll horizontally
|
||||||
- [x] zoom-in/zoom-out
|
- `<C-U>`,`<C-D>`: scroll pages by half of screen
|
||||||
- [ ] find a keyword in the page
|
- `<C-B>`,`<C-F>`: scroll pages by a screen
|
||||||
- [ ] navigations
|
- `0`,`$`: scroll a page to leftmost/rightmost
|
||||||
- [ ] yank/paste page
|
- `gg`,`G`: scroll to top/bottom
|
||||||
- [x] pagenation
|
|
||||||
- [x] open parent page
|
#### Tabs
|
||||||
- [x] open root page
|
- `d`: delete current tab
|
||||||
- [ ] hints
|
- `u`: reopen close tab
|
||||||
- [x] open a link
|
- `K`/`J`: select prev/next tab
|
||||||
- [x] open a link in new tab
|
- `r`: reload current tab
|
||||||
- [x] activate input form
|
- `R`: reload current tab without cache
|
||||||
- [ ] misc
|
|
||||||
- [x] configurable keymaps
|
### Navigation
|
||||||
- [x] search engine settings
|
- `f`: start following links in the page
|
||||||
- [x] .rc file
|
- `H`: go back in histories
|
||||||
- [ ] other commands in Ex mode
|
- `L`: go forward in histories
|
||||||
- [ ] supporting Google Chrome/Chromium
|
- `[[`,`]]`: find prev/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
|
||||||
|
|
||||||
|
### 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.
|
||||||
|
|
||||||
|
#### `:open` command
|
||||||
|
|
||||||
|
Open a URL or search keywords by search engine in current tab,
|
||||||
|
When specified parameter is formatted in URL as following, URL is opened to current tab.
|
||||||
|
|
||||||
|
```
|
||||||
|
:open http://github.com/ueokande
|
||||||
|
```
|
||||||
|
|
||||||
|
If specified parameters are keywords as following, open new tab searched by the
|
||||||
|
keywords with search engines (default to Google).
|
||||||
|
|
||||||
|
```
|
||||||
|
:open How to contribute to Vim-Vixen
|
||||||
|
```
|
||||||
|
|
||||||
|
You can specify search engines in first parameter.
|
||||||
|
For the default of search engines, see [search engines](#search-engines) section.
|
||||||
|
|
||||||
|
```
|
||||||
|
:open yahoo How to contribute to Vim-Vixen
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
#### `:tabopen` command
|
||||||
|
|
||||||
|
Open a URL or search keywords by search engine in new tab.
|
||||||
|
|
||||||
|
#### `:winopen` command
|
||||||
|
|
||||||
|
Open a URL or search keywords by search engine in new window.
|
||||||
|
|
||||||
|
#### `:buffer` command
|
||||||
|
|
||||||
|
Select tabs by URL or title matched by keywords.
|
||||||
|
|
||||||
|
### Search engines
|
||||||
|
|
||||||
|
Vim-Vixen support to search by search engines such as google or yahoo.
|
||||||
|
But the engines are independent on browsers' because of there is a limitation of WebExtensions.
|
||||||
|
|
||||||
|
You can configure search engines and default search engine in preferences of the add-ons.
|
||||||
|
The URLs specified in `"engines"` must contain a {}-placeholder, which will
|
||||||
|
replaced with keywords in parameters of the command.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"keymaps": {
|
||||||
|
"...": "..."
|
||||||
|
},
|
||||||
|
"search": {
|
||||||
|
"default": "google",
|
||||||
|
"engines": {
|
||||||
|
"google": "https://google.com/search?q={}",
|
||||||
|
"yahoo": "https://search.yahoo.com/search?p={}",
|
||||||
|
"bing": "https://www.bing.com/search?q={}",
|
||||||
|
"duckduckgo": "https://duckduckgo.com/?q={}",
|
||||||
|
"twitter": "https://twitter.com/search?q={}",
|
||||||
|
"wikipedia": "https://en.wikipedia.org/w/index.php?search={}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
|
|
Reference in a new issue