best text editor for programming Python on a Mac
auriocus at gmx.de
Mon Jun 20 10:03:31 EDT 2016
Am 20.06.16 um 15:48 schrieb Rustom Mody:
> On Monday, June 20, 2016 at 7:06:57 PM UTC+5:30, Christian Gollwitzer wrote:
>> Am 20.06.16 um 15:26 schrieb Random832:
>>> The point is that in vim you
>>> can't position the normal-mode cursor in such a way that inserted
>>> characters are inserted at the end of the line.
>> But you can press i at the end of the line, then arrow-right, which
>> positions the cursor over the empty space after the line, and type. Try
>> it. In vim this works, because vim understands cursor keys. In original
>> vi not (there were no cursor keys on the old terminals). Usually, when
>> editing in vim, you don't leave the insert mode because you can use the
>> "special" keys as well as mouse actions to perform usual editing tasks.
>> Leaving insert mode is only necessary to run a command.
> True and false (if one allows for vi = vim)
He wrote "in vim", which I assumed was on purpose.
> In the default vi that comes with ubuntu (vi-tiny??)
> giving a arrow in insert mode enters all kinds of (control?) garbage.
Yes I know this crappy behaviour which has no place on a current
desktop. Maybe it is just a setting? Try ":set nocompatible" which
should turn on standard edit keys, if this is really a vim variant and
not something else like elvis.
> In (full) vim I guess its true
Definitely. I wouldn't use an editor which requires me to learn special
commands that are available as standard keys on a modern keyboard.
More information about the Python-list