[Tutor] python editor
Jamie Paul Griffin
jamie at kontrol.kode5.net
Wed Feb 8 14:24:02 CET 2012
On Mon, Feb 06, 2012 at 06:11:13PM +0000, Alan Gauld wrote:
> On 06/02/12 17:17, bob gailer wrote:
> >On 2/6/2012 10:25 AM, Kapil Shukla wrote:
> >>Please also suggest a free editor for python which can at least repeat
> >>previous command with a key stroke
> That depends on the editor's mode of operation.
> In an editor like vi (elvis, vim etc) there is a repeat key (the period)
> that repeats most things because most things are a "command" - even
> inserting text. but in a so called modeless editor (most modern
> repeat will be restricted to things that are recognised as atomic
> operations, like search/replace, change case etc. And some of those
> will only be valid when text is selected (so not really modeless!).
> Other editors like emacs allow you to specify how often an action is
> repeated. So esc-16 n will insert 16 n's for example.
> You would need to be more specific in terms of what you want in a
> repeat operation.
> Alan G
> Author of the Learn to Program web site
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
My personal choices are nvi for command line editor and TextMate for GUI on Mac OS X. I don't use Windows systems so haven't a clue what's on offer for that platform. I learned nvi just because it's the default editor installed on NetBSD base system which is my primary computing platform. There's just so many editors now it's difficult to know what will suit you best. It would mostly come down to the environment you are most comfortable working in; I spend 90% of my time in a UNIX shell so the command line editors suit me better.
More information about the Tutor