VIM and [Python] block jumping

C. Laurence Gonsalves clgonsal at kami.com
Fri Jul 9 07:16:22 EDT 1999


Of course, right after I posted that, realized that there's a problem.
The blockMotion function doesn't account for lines that are
continuations of other lines. That means that triple-quoted string
literals, lines with more {[('s that }])'s, and lines joined with \ can
screw it up. Are there any other situations? I'll try to post a
corrected version later. Some of those problems are pretty nasty though
(triple-quoted strings in particular).

-- 
  C. Laurence Gonsalves              "Any sufficiently advanced
  clgonsal at kami.com                   technology is indistinguishable
  http://www.cryogen.com/clgonsal/    from magic" -- Arthur C. Clarke




More information about the Python-list mailing list