-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i Ctrl-C instead of Ctrl-U #35
Comments
Thanks for the suggestion, I'll look into it. I think I considered using |
Sorry for the long wait, I've been a bit busy lately. I've now implemented the feature and made it the default behavior. Please update and see if it works as expected. :) For people who prefer the old behavior, you can set the following in your let g:ipython_cell_send_ctrl_c = 0
let g:ipython_cell_send_ctrl_u = 1 |
After some quick tests, it seems to work like a charm, thanks a lot! |
The default behavior is currently to "Send Ctrl-U to clear the line before sending commands to IPython".
But that fails if the cell has multiple lines.
Ctrl-C
should be sent instead because it cleans the whole cell.Actually,
i Ctrl-C
should be sent because the user may use VIM mode for IPython and be in navigation modeSo first send
i
to enter insert mode, thenCtrl-C
to clear the cell, and finally%paste -q
to execute the cell.Right now only
ste -q
is sent (because insert mode is entered only after thea
)btw, thanks a lot for the amazing plugin!
The text was updated successfully, but these errors were encountered: