Somebody was wanting more emacsy stuff for text editing. Whilst idly looking through the SqueakMap errr, map, I noticed a package that might provide the beginnings of an answer to that call -
"Name: SVI Summary: Text editor w/ extensive support for VIM and Emacs commands. Author: Steven Swerling Owner: Steven Swerling sswerling@yahoo.com
Description: Now works in 3.9, go <a href="http://www.squeaksource.com/SVI.html">here</a> For Squeak 3.7 or 3.8, use <a href="http://www.swerlingphoto.com/squeak/svi2/SVI-v2.1beta1.1.sar">this</a>. If you want a version that works in Squeak 3.6, go <a href="http://www.swerlingphoto.com/squeak/svi2/svi2.html">here</a>.
SVI is a text editor for squeak that can be used in place of the PluggableTextMorph. SVI is designed to behave, as much as possible, like a standard text editor, so as not to confuse users that are not familiar with modal text editors. Nevertheless, SVI features extensive support for VIM and Emacs modes and commands, including:
- incremental search - interactive search/replace - split panes - multilevel undo/redo - navigation, using keyboard driven menus and bookmarks, between classes, methods, files, and system windows - context sensitive help and command completion - customizable keybindings - ability to paste recently deleted, inserted, or copied text. Also, VIM-style "registers" - support for VIM's Normal, Visual and Linewise Visual modes, with extensive support for the VIM commands, motions, registers. Mark implementation supports method-to-method jumps , method-to-file, file-to-file, etc.
By default, SVI supports many VIM commands. If you want SVI to support Emacs commands instead, be sure to take the tour of Emin (SVI's "mini-emacs"). After loading SVI, execute "SVI openEminDocs" to take a tour of Emin.
Patches to make SVI work with StarBrowser and Celeste are available <a href="http://www.swerlingphoto.com/squeak/svi2/appPatches.html">here</a>. The Celeste version is provided as an example of how to fully integrate an application with SVI (with a recent message list, bookmarking, opening a celeste message in a split pane, etc).
Some Links: <a href="http://www.swerlingphoto.com/squeak/svi2/sviChanges.txt">Release Change Log</a> <a href="http://www.swerlingphoto.com/squeak/svi2/standardBindings.html">A list of SVI's default keybindings</a> <a href="http://www.swerlingphoto.com/squeak/svi2/standardBindings.html">A list of EMin's default keybindings</a>
Categories: Package format/Squeak Archive - A '.sar' file which is a zip-file following certain conventions. Package group/Non official package - Just a package for Squeak, no community guarantees. :) Squeak distribution/Squeak - The official distribution of Squeak. Squeak versions/Squeak3.9 - Released 8 Dec 2006.
Published Version: SVI-3.9v2-sps.115 Created: 29 December 2006 2:16:10 pm Release Note: - Added "snippets". See SVI class>>docSnippets. - Another fix for preventing too many repeating keystrokes. This should eliminate dropped keystrokes. - Emin can be turned on/off through the SVI menu - Changed the default help key to <c-h>. SVI's docs are not completely up to date, so where SVI's documentation refers to ''<m-?>'', please use ''<c-h>'' instead. To switch the help key back, you can execute the following (you might want to put it in your svirc file too): SVIKeyMapper helpKey: ''<m-?>''.
Homepage: http://www.squeaksource.com/SVI.html Package Info: SVI"
I'd be surprised if it "just worked" after this long but it probably has a bunch of good stuff to steal.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Useful Latin Phrases:- Te audire no possum. Musa sapientum fixa est in aure. = I can't hear you. I have a banana in my ear.
The SVI repository on squeaksource.com has a more recent commit that claims to work on Squeak 4.1, so that is probably a good place to start.
Dave
On 2023-09-30 03:45, Tim Rowledge wrote:
Somebody was wanting more emacsy stuff for text editing. Whilst idly looking through the SqueakMap errr, map, I noticed a package that might provide the beginnings of an answer to that call -
"Name: SVI Summary: Text editor w/ extensive support for VIM and Emacs commands. Author: Steven Swerling Owner: Steven Swerling sswerling@yahoo.com
Description: Now works in 3.9, go <a href="http://www.squeaksource.com/SVI.html">here</a> For Squeak 3.7 or 3.8, use <a href="http://www.swerlingphoto.com/squeak/svi2/SVI-v2.1beta1.1.sar">this</a>. If you want a version that works in Squeak 3.6, go <a href="http://www.swerlingphoto.com/squeak/svi2/svi2.html">here</a>.
SVI is a text editor for squeak that can be used in place of the PluggableTextMorph. SVI is designed to behave, as much as possible, like a standard text editor, so as not to confuse users that are not familiar with modal text editors. Nevertheless, SVI features extensive support for VIM and Emacs modes and commands, including:
- incremental search
- interactive search/replace
- split panes
- multilevel undo/redo
- navigation, using keyboard driven menus and bookmarks, between
classes, methods, files, and system windows
- context sensitive help and command completion
- customizable keybindings
- ability to paste recently deleted, inserted, or copied text. Also,
VIM-style "registers"
- support for VIM's Normal, Visual and Linewise Visual modes, with
extensive support for the VIM commands, motions, registers. Mark implementation supports method-to-method jumps , method-to-file, file-to-file, etc.
By default, SVI supports many VIM commands. If you want SVI to support Emacs commands instead, be sure to take the tour of Emin (SVI's "mini-emacs"). After loading SVI, execute "SVI openEminDocs" to take a tour of Emin.
Patches to make SVI work with StarBrowser and Celeste are available <a href="http://www.swerlingphoto.com/squeak/svi2/appPatches.html">here</a>. The Celeste version is provided as an example of how to fully integrate an application with SVI (with a recent message list, bookmarking, opening a celeste message in a split pane, etc).
Some Links: <a href="http://www.swerlingphoto.com/squeak/svi2/sviChanges.txt">Release Change Log</a> <a href="http://www.swerlingphoto.com/squeak/svi2/standardBindings.html">A list of SVI's default keybindings</a> <a href="http://www.swerlingphoto.com/squeak/svi2/standardBindings.html">A list of EMin's default keybindings</a>
Categories: Package format/Squeak Archive - A '.sar' file which is a zip-file following certain conventions. Package group/Non official package - Just a package for Squeak, no community guarantees. :) Squeak distribution/Squeak - The official distribution of Squeak. Squeak versions/Squeak3.9 - Released 8 Dec 2006.
Published Version: SVI-3.9v2-sps.115 Created: 29 December 2006 2:16:10 pm Release Note:
- Added "snippets". See SVI class>>docSnippets.
- Another fix for preventing too many repeating keystrokes. This should
eliminate dropped keystrokes.
- Emin can be turned on/off through the SVI menu
- Changed the default help key to <c-h>.
SVI's docs are not completely up to date, so where SVI's documentation refers to ''<m-?>'', please use ''<c-h>'' instead. To switch the help key back, you can execute the following (you might want to put it in your svirc file too): SVIKeyMapper helpKey: ''<m-?>''.
Homepage: http://www.squeaksource.com/SVI.html Package Info: SVI"
I'd be surprised if it "just worked" after this long but it probably has a bunch of good stuff to steal.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Useful Latin Phrases:- Te audire no possum. Musa sapientum fixa est in aure. = I can't hear you. I have a banana in my ear.
On 2023-09-30, at 8:08 AM, lewis@mail.msen.com wrote:
The SVI repository on squeaksource.com has a more recent commit that claims to work on Squeak 4.1, so that is probably a good place to start.
Good catch; and another reminder that we collectively really ought to try to harvest some of the good stuff and make it current.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: IO: Illogical Or
squeak-dev@lists.squeakfoundation.org