ivanov/vim-ipython — Issue #15: add sending of code selection (c-v) without indent errors?
Author: unpingco
Created: 2011-11-05 17:21:50+00:00
State: open

Within VIM, one can do to highlight blocks of text that start in specified columns (i.e. do not select the entire line). I have tried doing to send the so-selected text to IPython, but I get indent errors.

Would it be possible to configure ipy.vim to handle sending sub-blocks of code to IPython that do **not** start at column one?

The use case is when you are walking through sub-functions of a larger program that are indented with respect to the file you are editing and want to send these sub-blocks to IPython.

BTW, I'm on windows xp, GVIM 7.3

Thanks!

Jose