Vi Editing Mode
Automatically and non-intrusively add a vi editing mode to all textareas/inputs. Behaviour is unchanged until you hit Escape.
As of May 2026, Vi Editing Mode has 67 users in the Functionality & UI category.
Usersdown 4.3 percent−4.3%
67
67
Ratingno change0%
—
— reviews
Reviewsno change0%
—
Version
0.0.10
Manifest V3
History
2 snapshotsTracking since Apr 26, 2026.
View as table
| Date | Users | Rating | Reviews | Version |
|---|---|---|---|---|
| Apr 26, 2026 | 70 | — | — | 0.0.10 |
| May 23, 2026 | 71 | — | — | 0.0.10 |
| Now | 67 | — | — | 0.0.10 |
Permissions & access
- Permissions
- None declared
- Host access
- None declared
Screenshots
About
Automatically and non-intrusively add a vi editing mode to all textarea/input
elements on pages, so you can use vim keys/shortcuts to edit and navigate text.
Inputs/textareas keep working as they normally do (like insert mode, handled by
the browser), hitting "escape" enables command mode on the focused element,
indicated with a box-shadow.
Features:
- Simple, automatic, non-intrusive vi editing.
- Command, visual and visual-line modes.
- Plenty of commands/keys (but please contribute more!)
- Multi-level undo and redo.
- Repeat.
- The tab key inserts literal tabs after having been in command mode, until the
element loses focus.
- Only basic addon permissions needed. (clipboard read/write permission
requested on first use).
Non-goals:
- vi-like keys for other browser behaviour, like navigating on a page or the
internet.
- Full-blown vi/vim editor (not all commands are needed, it doesn't have to
look like a standalone vi/vim, it would be too much for an input element).
- Marks, tags, macros, registers, custom key mappings and other advanced features.
# Limitations
Since vi.js uses basic textarea/input elements, it inherits some
limitations/behaviour:
Textareas don't expose whether text (e.g. the selection) is visible in the
viewport. This limits how vi.js can implement some commands/motions.
Insert mode is handled by the browser (with the exeception of Tab, which can
insert a literal tab), including undo/redo while typing. JS doesn't have access
to textarea undo/redo history. vi.js tracks history for changes it makes (based
on commands), and tracks changes during insert by comparing contents between
going into insert mode. The edits a user makes in insert mode are turned into a
single history change to undo/redo.
In vi/vim, the cursor is typically "on" a character. With a textarea, it is
shown between characters. The position at the end of the line, after the last
character, before the newline, is not normally a separate position in vi. vi.js
lets you navigate to these positions, which changes how some motion keys work.
Access to the clipboard is only explicitly with the "y" and "p" keys. Commands
that remove/replace text don't change the clipboard.
Not all input types are supported, browsers only allow editing selections on
some types: text, search, url, tel, password. Others don't work: email, time,
etc.
Popular messaging web applications have custom UI elements for sending messages,
for their rich text. They often don't use standard textarea/input elements, so
this plugin won't help with those apps.
Some applications use "Escape" as a shortcut to cancel. Use "ctrl-{" as
alternative. Unfortunately, the obvious alternative "ctrl-[" is interpreted by
firefox as "back" and can't be intercepted.
Plenty of vi/vim keys haven't been implemented yet. People typically use a
subset of all the many vi/vim key bindings. Please submit a PR for commands
you're missing and want. Keep the code maintainable.
The source code is Open Source, MIT-licensed, see https://github.com/mjl-/vijs.Technical
- Version
- 0.0.10
- Manifest
- V3
- Size
- 32.85KiB
- Min Chrome
- 88
- Languages
- 1
- Featured
- No
Metadata
- ID
- fjencagempclanimjkpljinmknpabbbp
- Developer ID
- u6bd0eda49108fc43493fe035521d6c30
- Developer Email
- [email protected]
- Created
- Nov 24, 2024
- Last Updated (Store)
- Nov 24, 2024
- Last Scraped
- May 23, 2026
- Website
- —
- Support URL
- https://github.com/mjl-/vijs/issues
- Privacy Policy
- —
Similar extensions
Alternatives to Vi Editing Mode, ranked by description similarity.
Simple Vim Scrolling
Navigate pages using vim-style keyboard shortcuts
6
Surfingkeys
Rich shortcuts to click links/switch tabs/scroll, capture pages, use your browser like vim for productivity.
20.0K
★ 4.7
vimek
Vim-inspired keyboard shortcuts for Brave Browser.
3
★ 5.0
Vim-For-Docs
An implementation of Vim motions for Google Docs
584
★ 5.0
ViHN: Vim for Hacker News
Vi-style key bindings for browsing Hacker News
33
★ 5.0
DocsKeys
Vim-style keyboard shortcuts for Google Docs
440
★ 4.9
HTML5 Video Keyboard Shortcuts
Add keyboard support to Chrome's native HTML5 video player.
7.0K
★ 4.1
Clipboard Typer
Type clipboard contents into input fields at configurable speed
1.0K
★ 5.0
Data sourced from the Chrome Web Store · last verified May 23, 2026.