wasavi
appsweets akahuku labs.

名前 更新日時 サイズ 説明
(上へ)
wasavi.crx 2013-06-03 17:34:20 223 KB version 0.5.296
sha1: 23e520b9eed7a48880c111ac21f318b040d844c0
wasavi.oex 2013-06-03 17:34:21 222 KB version 0.5.296
sha1: 77bd2f14214c30a51cb6623c8b91e49a6d7ee23a
wasavi.nex 2013-06-03 21:48:12 223 KB version 0.5.296
sha1: b93943a7b4c48aea2be796537edc821e6e3eeb55
wasavi.xpi 2013-06-03 17:34:21 450 KB version 0.5.296
sha1: 6e517bc7e56b0dcd7f6d1113117b14b4cee9e879
README.md.en 2013-06-03 17:34:22 7 KB
README.md.ja 2013-06-03 17:34:22 8 KB
LICENSE 2013-06-03 17:34:21 1 KB
NOTICE 2013-06-03 17:34:21 0 KB
changelog.txt 2013-06-03 23:25:24 5 KB

wasavi (VI editor for any web page)

wasavi is an extension for Chrome, Opera and Firefox. wasavi transforms TEXTAREA element of any page into a VI editor, so you can edit the text in VI. wasavi supports almost all VI commands and some ex commands.

wasavi is underdevelopment. Any bug report or feature request is welcomed.

A Quick Walkthrough

Salient Features

How to install

Currently, wasavi is available for following browsers only. Select your browser and click the link. Standard extension installation procedure of your browser will follow. These extensions are hosted at the addons store of their respective browser.

Latest development releases can be downloaded from this link.

Source code is hosted at Github.

A note for Opera users

Opera does not support DOM3 Composition Event therefore input via IME is not available.

Frequently Asked Questions

How to launch wasavi

Focus TEXTAREA and press Ctrl+Enter.

How to quit wasavi

To quit wasavi press ZZ or :q or :wq or any other VI quit command.

How to use wasavi with Vimperator on Firefox

Put wasavi_mediator.js in your Vimperator plugin directory, for example, ~/.vimperator/plugin or %HOME%\vimperator\plugin.

This plugin will control the pass-through mode of Vimperator according to the state of wasavi.

On wasavi online app, enter :ignorekeys add ^http://wasavi\\.appsweets\\.net/ in Vimperator. Then Vimperator will always use pass-through mode for the online app. ignorekeys settings is stored automatically therefore you will not have to reenter it.

How to use wasavi as an independent text editor

Install wasavi extension and open the link to wasavi online app. wasavi will start automatically. You can use ex commands :read, :write, :edit or :file to access your Dropbox files. You will have to authorize wasavi via OAuth to access Dropbox.

I Have noticed a bug

Please create an issue on wasavi issue tracker

Tips and Tricks

Commands implemented

Operations

c y d > < gq

Operations Aliases

cc yy dd >> << C Y D gqq

Motion

- + ^ <home> $ <end> % | comma(,) ; _ / ? ' ` ( ) { } [[ ]] <enter> 0 j k h l ^N ^P ^H <down> <up> <left> <right> <space> w W b B e E gg gj gk g^ g$ gi G H M L f F t T n N

Vim text objects (range symbol)

Scroll commands

^U ^D ^Y ^E ^B ^F <pageup> <pagedown> z<enter> z. zz z-

Edit commands

x X <delete> p P J period( . ) u ^R ~ ^L ^G m @ q r R a A i I o O & s S ZZ

ex commands

abbreviate copy delete edit file global join k map mark marks move options print put quit read redo s & ~ set registers to unabbreviate undo unmap version v write wq xit yank > < @ *

ex commands to specify address are fully supported.

absolute line number, relative line number, regal expression.

wasavi also accepts offset.

Input mode commands

^@ ^D ^H ^T ^U ^V ^W

^@ is actually ctrl+space.

^D accepts the last ^ and 0.

Line input mode commands

Vim features in wasavi