On Mon, Oct 19, 2009 at 4:04 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:

>
> Remember that web2py was designed as a teaching tool. Moving to VIM is
> not an option.
>
> But, you can configure firefox to use Vim when editing a textarea.
>

yes, with the "It's All
Text<https://addons.mozilla.org/en-US/firefox/addon/4125>"
plugin - but the area has to be a textarea (I never went to the trouble to
see how to configure that as the default for edit, but it would be a nice
default to be able to change from the admin interface - so you could go back
and forth as you need, instead of always double clicking for small changes).


- Y


>
> Massimo
>
> On Oct 19, 3:30 pm, weheh <richard_gor...@verizon.net> wrote:
> > I'm a vim user who never uses the appadmin except at the onset of a
> > new project to check the db. I never ever edit files using the
> > appadmin editor. However, if the editor was vim and the integration
> > was done well, I might just reconsider. Keep at it, Tim! Seems useful
> > to me.
> >
> > On Oct 19, 10:42 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> >
> > > The Amy editor is already in web2py as an option (with
> > > autocompletion). You can enable it by editing admin/models/0.py. We
> > > had a trial phase and people have reported issues with it, so we never
> > > made it the default.
> >
> > > On Oct 19, 7:56 am, Timbo <tfarr...@swgen.com> wrote:
> >
> > > > Yes, that's me.  I'm on the list in digest mode.  So I don't catch
> > > > every conversation.
> >
> > > > I did contribute this Python parser to Codemirror a while ago.  It is
> > > > ok for most things.  I haven't brought it up because I'm still trying
> > > > to work through some annoyances.  Maybe this is my perfectionism
> > > > speaking.  After all, Skulpt is already using it.
> >
> > > > I don't like how it handles indentation (note the section on strict
> > > > errors).  It should not error there but I made it error to work
> around
> > > > an implementation difficulty.  Also it barely handles context like
> the
> > > > CodeMirror Javascript parser does fully.  I've began redoing the
> > > > parser properly but I always hit an infinite loop that I can't find.
> > > > So I've kinda given up on it for now.  Every few weeks I take another
> > > > look at it and get frustrated by that same stinking infinite loop.
> >
> > > > Aside from that...I have used Codemirror Python to edit quite a few
> > > > Python files and it doesn't suffer from the ghosting and other
> > > > weirdness that EditArea has.  I do miss code folding that I have in a
> > > > native editor, but one thing at a time.  Is Amy Editor still
> massively
> > > > slow?  Does it lose highlighting sync like EditArea?  I haven't used
> > > > it much.
> >
> > > > I've kinda been holding out for Bespin.  So far Bespin is supposed to
> > > > migrate to a style of syntax highlighter that codemirror uses, but
> I'm
> > > > not sure if that ever happened.  If they want it to be successful, it
> > > > will be a necessity in my eyes.
> >
> > > > If you want to put it in the admin, I have no problems.  It might be
> > > > good to get some more eyes on it since I don't know how widely it is
> > > > used.
> >
> > > > -tim
> >
> > > > On Oct 16, 8:41 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> >
> > > > > I did not know about this project and I think the author  is the
> same
> > > > > Tim as this list. Tim, are you?
> >
> > > > > Unfortunately, it does not work well for me (Firefox on Mac).
> >
> > > > > Massimo
> >
> > > > > On Oct 16, 6:22 am, Vasile Ermicioi <elff...@gmail.com> wrote:
> >
> > > > > > EditArea that is used is very annoying ... Often in copy paste
> operations I
> > > > > > am getting unexpected results in the editor.I would propose to
> switch to
> > > > > > CodeMirrorhttp://
> marijn.haverbeke.nl/codemirror/contrib/python/index.html
> >
> > > > > > On Fri, Oct 16, 2009 at 1:26 PM, Benigno <bca...@albendas.com>
> wrote:
> >
> > > > > > > LoL, didnt know this project, it was a good laugh to use Vi
> right on
> > > > > > > the screen...
> >
> > > > > > > I love and use Vim all the time, but my personal opinion is
> that not
> > > > > > > so many people would be delighted with the idea to start with,
> but
> > > > > > > whats more important, the people that use Vim, ussually just
> skip
> > > > > > > straight away using the editor in web2py and access the files
> from
> > > > > > > their own vim, with their own vimrc and plugins setup to their
> liking,
> > > > > > > and at the least of cases use "It's all text" or something
> similar to
> > > > > > > edit things in their favourite editor.
> >
> > > > > > > Don't get me wrong, I'd love to have it there, its just that if
> I have
> > > > > > > to choose between someone putting their effort on this or
> putting it
> > > > > > > on.... say T4, I am dead on T4.
> >
> > > > > > > On Oct 16, 5:34 am, Richard <richar...@gmail.com> wrote:
> > > > > > > > Might be a nice extension for the admin editor:
> > > > > > >http://gpl.internetconnection.net/vi/-Hide quoted text -
> >
> > > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to