This only happens in python-mode. When I try to use a text object to, for example, change everything inside or around some brackets (eg
ci() it instead edits the first line of the file. So if I have this:
from somewhere import something
and my cursor is on the hello and I type
ci( then it changes to:
with my cursor between the f and the g. This happens no matter what else is in the file.
Try to edit inside quotes (eg
ci")also fails but in a different way. It just drops into insert mode and leaves the contents unchanged.
Any ideas where I should start with tracking down the source of this issue?