Assuming the current buffer is the file 'foobar' in the current
directory. After running the following Vim commands:

    :python import os
    :python os.chdir("subdir")

the current buffer name is not changed as it is when you run
the Vim command ':cd subdir' (but the output of ':pwd' is Ok),
and when the following command is run afterwards:


Vim writes the buffer to the file 'subdir/foobar', instead of the
original file.

This happens with Vim 7.0 compiled with Python 2.5.


--           gdb support in Vim

Reply via email to