This repository has been archived on 2020-04-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
Shin'ya Ueoka 01dfb15654 Merge pull request #44 from ueokande/fix-37
Fix tab selection
2017-10-10 21:50:00 +09:00
.github add ISSUE_TEMPLATE 2017-10-08 22:51:00 +09:00
resources Add icons 2017-10-10 20:02:31 +09:00
src fix tab selection 2017-10-10 21:45:54 +09:00
test parse json in settings 2017-10-09 15:30:05 +09:00
.eslintrc configure eslint 2017-10-09 15:43:17 +09:00
.gitignore add package step 2017-10-10 20:03:47 +09:00
.travis.yml add npm package to CI 2017-10-10 20:11:18 +09:00
CODE_OF_CONDUCT.md add CODE_OF_CONDUCT 2017-10-08 22:51:00 +09:00
CONTRIBUTING.md add CONTRIBUTING 2017-10-08 22:51:00 +09:00
karma.conf.js install karma-html2js-preprocessor 2017-08-21 20:58:43 +09:00
LICENSE Initial commit 2017-08-11 22:26:12 +09:00
manifest.json add package step 2017-10-10 20:03:47 +09:00
package-lock.json install babel-minify-webpack-plugin 2017-10-10 20:03:05 +09:00
package.json add package step 2017-10-10 20:03:47 +09:00
package.sh add package step 2017-10-10 20:03:47 +09:00
README.md remove background from README 2017-10-10 17:31:07 +09:00
webpack.config.js add build step 2017-10-10 20:03:47 +09:00

Vim Vixen

Vim Vixen is a Firefox add-on which allows you to navigate with keyboard on the browser. Firefox started to support WebExtensions API and will stop supporting add-ons using legacy APIs from version 57. For this reason, many legacy add-ons do not work on Firefox 57. and Vim Vixen is a new choise for Vim users since Vim Vixen uses WebExtensions API

Basic usage

Key-maps

The key-maps are configurable in preferences of the add-ons. 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

Scrolling

  • k,k: scroll vertically
  • h,l: scroll horizontally
  • <C-U>,<C-D>: scroll pages by half of screen
  • <C-B>,<C-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

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

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 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.

{
  "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

MIT