Histórico de versões do Vi Editing Mode - 9 versões
Vi Editing Mode por Mechiel Lukkien
Histórico de versões do Vi Editing Mode - 9 versões
Cuidado com versões antigas! Essas versões são exibidas com propósito de referência e testes.Devemos sempre usar a versão mais recente de uma extensão.
Versão mais recente
Versão 0.0.11
Lançado em 21 de nov de 2024 - 37,1 KBFunciona em firefox 109.0a1 em diantev0.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.Código fonte publicado sob Licença MIT
Baixe o Firefox e instale a extensãoVocê precisa do Firefox para usar esta extensãoVersões mais antigas
Versão 0.0.10
Lançado em 21 de nov de 2024 - 37,1 KBFunciona em firefox 109.0a1 em diantev0.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.Código fonte publicado sob Licença MIT
Versão 0.0.9
Lançado em 19 de nov de 2024 - 28,79 KBFunciona em firefox 58.0 em diantev0.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).Código fonte publicado sob Licença MIT
Versão 0.0.7
Lançado em 13 de nov de 2024 - 28,67 KBFunciona em firefox 58.0 em diante- 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.Código fonte publicado sob Licença MIT
Versão 0.0.6
Lançado em 4 de nov de 2024 - 28,38 KBFunciona em firefox 58.0 em diante- 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.Código fonte publicado sob Licença MIT
Versão 0.0.5
Lançado em 2 de nov de 2024 - 25,55 KBFunciona em firefox 58.0 em diante- 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).Código fonte publicado sob Licença MIT
Versão 0.0.4
Lançado em 18 de out de 2024 - 25,49 KBFunciona em firefox 58.0 em diante- 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)Código fonte publicado sob Licença MIT
Versão 0.0.3
Lançado em 17 de ago de 2024 - 25,59 KBFunciona em firefox 58.0 em diante- 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.Código fonte publicado sob Licença MIT
Versão 0.0.2
Lançado em 4 de ago de 2024 - 22,41 KBFunciona em firefox 58.0 em dianteCódigo fonte publicado sob Licença MIT