[Newbies] Plain file editing

Mark Aufflick mark-st at aufflick.com
Mon Jul 3 13:10:32 UTC 2006


I have been pondering the same sorts of things, being something of an
emacs junky. Today I discovered SVI, which implements vi-like or
emacs-like key bindings for many editor panes (such as the class
browser, work space).

I am finding it a real boon. It doesn't change the way you interact
with the smalltalk runtime at all, but when you want to shuffle around
bits of text or jump from one window frame to another using familiar
keyboard commands - well for me it's like coming to the surface of the
water and being able to breathe again ;)

You can find SVI in squeakmap - the one package has vi-like and
emacs-like bindings. vi-like is the default but you just need to call
a few methods to change over to a remarkably good rendition of the
emacs editing experience (considering the author is a vi user).

/Mark

On 7/2/06, stéphane ducasse <ducasse at iam.unibe.ch> wrote:
>
> On 2 juil. 06, at 00:42, itsme213 wrote:
>
> > Is there an easy way, within squeak itself, to open a text editor
> > on an entire class and simply edit the file and "save" the entire
> > file (equivalently, "file-in" the string-buffer). I find I am
> > quicker with this than all the mousing around, specially when
> > making a new class.
> >
> > I know I can file-out and file-in, but I am looking to avoid those
> > steps.
>
> Basically you should try to avoid to fileout and file in all the time.
> The code browser is there to help you, shout the syntax editor can
> help you to find mistake.
> Writing Smalltalk in VI can be painful.
>
> I suggest you to:
>         - save your image
>         - save the category doing a fileout
>         - use Monticello and save a package
> but work with the tools
>
> have a look at my videos they show all the steps to do one by one.
>
> http://www.listic.univ-savoie.fr/~ducasse/Resources.html/
>
> >
> > Thanks.
> > _______________________________________________
> > Beginners mailing list
> > Beginners at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


-- 
Mark Aufflick
 e: mark at pumptheory.com
 w: mark.aufflick.com
 p: +61 438 700 647
 f: +61 2 9436 4737


More information about the Beginners mailing list