Vi Editing Mode version history - 9 versions
Vi Editing Mode by Mechiel Lukkien
Vi Editing Mode version history - 9 versions
Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.
Latest version
Version 0.0.11
Released Nov 21, 2024 - 37.1 KBWorks with firefox 109.0a1 and laterv0.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.Source code released under MIT License
Download Firefox and get the extensionYou'll need Firefox to use this extensionOlder versions
Version 0.0.10
Released Nov 21, 2024 - 37.1 KBWorks with firefox 109.0a1 and laterv0.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.Source code released under MIT License
Version 0.0.9
Released Nov 19, 2024 - 28.79 KBWorks with firefox 58.0 and laterv0.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).Source code released under MIT License
Version 0.0.7
Released Nov 13, 2024 - 28.67 KBWorks with firefox 58.0 and later- 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.Source code released under MIT License
Version 0.0.6
Released Nov 4, 2024 - 28.38 KBWorks with firefox 58.0 and later- 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.Source code released under MIT License
Version 0.0.5
Released Nov 2, 2024 - 25.55 KBWorks with firefox 58.0 and later- 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).Source code released under MIT License
Version 0.0.4
Released Oct 18, 2024 - 25.49 KBWorks with firefox 58.0 and later- 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)Source code released under MIT License
Version 0.0.3
Released Aug 17, 2024 - 25.59 KBWorks with firefox 58.0 and later- 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.Source code released under MIT License
Version 0.0.2
Released Aug 4, 2024 - 22.41 KBWorks with firefox 58.0 and laterSource code released under MIT License