Vi Editing Mode 版本历史 - 9 个版本
Vi Editing Mode 作者: Mechiel Lukkien
Vi Editing Mode 版本历史 - 9 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 0.0.11
发布于 2024年11月21日 - 37.1 KB适用于 firefox 109.0a1 及更高版本v0.0.11
- Add an "id" to the manifest.json for Firefox.
v0.0.10
- Switch to manifest v3, this add-on/extension works with Chromium too.
- Use internal fake clipboard buffer if it isn't available, to make 'y' and 'p'
(yank/paste) somewhat work in insecure contexts.源代码遵循 MIT 许可证 发布
下载 Firefox 并安装扩展您需要 Firefox 来使用此扩展较早版本
版本 0.0.10
发布于 2024年11月21日 - 37.1 KB适用于 firefox 109.0a1 及更高版本v0.0.11
- Add an "id" to the manifest.json for Firefox.
v0.0.10
- Switch to manifest v3, this add-on/extension works with Chromium too.
- Use internal fake clipboard buffer if it isn't available, to make 'y' and 'p'
(yank/paste) somewhat work in insecure contexts.源代码遵循 MIT 许可证 发布
版本 0.0.9
发布于 2024年11月19日 - 28.79 KB适用于 firefox 58.0 及更高版本v0.0.9
- Ensure the extra line for ':' and '/' and '?' commands/keys is always on top,
through the highest possible z-index value, so it isn't hidden underneath
other UI elements.
- For command 'o', when at last line that doesn't have ending newline, ensure
current line gets a newline and add another and set cursor at beginning of
next line.
- Fix 'G' motion to include last byte in file (e.g. newline, but any other
character if there was no ending newline).源代码遵循 MIT 许可证 发布
版本 0.0.7
发布于 2024年11月13日 - 28.67 KB适用于 firefox 58.0 及更高版本- Fix positioning of extra input element/line for '/', '?', ':'. Page scroll
offset wasn't being taken into account.
- Improve handling of pasting with 'p' and 'P', depending on whether the pasted
buffer ends with a newline.
- When wrapping text, if an original line started with "# " or "> " or "// ",
repeat those on the wrapped lines. For easier quoting/commenting.源代码遵循 MIT 许可证 发布
版本 0.0.6
发布于 2024年11月4日 - 28.38 KB适用于 firefox 58.0 及更高版本- Implement ex command mode. Basic for now, only for skipping to line numbers
(":123") and doing regexp replace (":%s/from/to/g"). The JS RegExp
functionality is used. Implement search commands "/" and "?". Both add a new
input element (line) to the document, with basic history with arrow up/down,
and vi-editing mode enabled with ctrl-{ (escape cancels the ex/search). Search
commands "*", "#", "n", and "N" can now be prefixed with a command count (e.g.
2* is the motion for word under cursor, twice). And search commands work in
visual mode too now. (issue #8)
- Fix 'v', 'V' (changing kind of visual mode), and 'ctrl-e' (scroll) while in
visual mode. And when going from visual to visual-line mode, properly expand
selection to cover previous selection, widened to whole lines, instead of only
the line of the end of the selection.源代码遵循 MIT 许可证 发布
版本 0.0.5
发布于 2024年11月2日 - 25.55 KB适用于 firefox 58.0 及更高版本- Fix "cw" to not remove the trailing whitespace that the "w" motion would
normally select. (issue #3 by joshbode)
- Fix "w" motion on underscores: Underscore is not part of punctuation, but of
word. (issue #4 by joshbode)
- Improve "b" motion (move word back).源代码遵循 MIT 许可证 发布
版本 0.0.4
发布于 2024年10月18日 - 25.49 KB适用于 firefox 58.0 及更高版本- Bugfix: fix motions 'f' and 't' by advancing to just after
or just before the searched character, instead of before
that character, or even more before. (issue #1 by joshbode)源代码遵循 MIT 许可证 发布
版本 0.0.3
发布于 2024年8月17日 - 25.59 KB适用于 firefox 58.0 及更高版本- Improve highlighting the active mode (outline and colors).
- After undo/redo, restore cursor at beginning of modified text, not end.
- Selecting text while in command mode now switches to visual mode instead of insert mode.
- Fix handling of control modifief key. Before, we would treat many ctrl+<key> as just <key>, which could lead to surprises.
- Implement motion keys to search for a single letter within a line: f, F, t, T, ;, ",".
- Implement motion keys for previous/next sentence: (, ).
- Give more helpful error message when clipboard is not available, typically in insecure context (e.g. internal plain-http (not https) apps).
- Improve cursor positioning and newline behaviour for paste/yank.
- Fix 'o' in visual mode (swapping direction of selection).
- Don't let 'x' delete newlines.
- Implement "a" and "i" meta motions ("around" and "inner"), combined with other movements, such as "iw" for "inner word", also: "W" (word and interpunction), "s" (sentence), "p" (paragraph), "'" (single-quoted string), '"' (double-quoted string), "b" (parenthesis block), "B" (accolade block), "<" or ">" (<...> block).
- Implement visual command "c" (change, as alias for "s").
- Visual line mode now changes selection to include the newline, "$" includes the ending newline when in visual/visualline mode, and no longer excludes the last character on a line.
- Trim whitespace at end/start when joining lines, and add command 'gJ' to join lines withing adding whitespace; Also fix cursor positioning afterwards.
- After visual command, properly clear the visual command buffer, and change cursor to current position (not selection) when going into command mode after visual command.
- Implement motions "-" and "+", for up/down line and going to first non-whitespace character.
- Implement "^" to go to first non-blank on line.
- Implement "#" for searching current word backwards (oppositive direction of "*").
- Implement ctrl-y for scrolling up.
- Implement gq for wrapping text.源代码遵循 MIT 许可证 发布