Open mike-bishop opened 10 years ago
thanks for reporting this issue @mike-bishop, can you verify if this iis also the case if you select the text by entering visual mode (v or V) and selecting lines that way? If I recall correctly, there can be a difference between whether or not a selection of text becomes the visual selection in Windows, so depending on your vimrc settings, it could be that we're assuming one setting where the selection isn't going to visual mode, but to something else.
Also, is this an issue with the current version of vim-ipython? You may have gotten an outdated version via vim.org or the @vim-scripts account on github
Hi Paul,
Thanks very much. I have the latest version of vim-ipython.
If I select the text with my mouse (not go into visual mode) then it does NOT work. If I select the text in visual mode then it does work.
thanks, Mike
On Mon, Apr 21, 2014 at 8:46 PM, Paul Ivanov notifications@github.comwrote:
thanks for reporting this issue @mike-bishophttps://github.com/mike-bishop, can you verify if this iis also the case if you select the text by entering visual mode (v or V) and selecting lines that way? If I recall correctly, there can be a difference between whether or not a selection of text becomes the visual selection in Windows, so depending on your vimrc settings, it could be that we're assuming one setting where the selection isn't going to visual mode, but to something else.
Also, is this an issue with the current version of vim-ipython? You may have gotten an outdated version via vim.org or the @vim-scriptshttps://github.com/vim-scriptsaccount on github
— Reply to this email directly or view it on GitHubhttps://github.com/ivanov/vim-ipython/issues/90#issuecomment-41001315 .
Selection in visual mode doesn't work correctly. For instance, I have the line:
# 2 + 2
If I run it in normal mode with <C-s>
, it correctly does nothing (because it's a comment). However, if I select just the 2 + 2
part, with either v
or <C-v>
, and then run with <C-s>
, then it still does nothing. It should output 4 (e.g. the #
shouldn't be sent to IPython).
I am using GVIM on Windows 7.
If I select a text block (using mouse or keyboard) and hit CTRL-S it only sends the current line I am on.