-
Notifications
You must be signed in to change notification settings - Fork 227
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
Cursor returns to the beginning of a selection when sending code from a script in one tmux pane to the terminal in the other terminal pane. #383
Comments
This is similar I believe to this issue. It is said that cursor preservation was added later on in the 'happy path'? |
Cursor save/restore goes through https://github.com/jpalardy/vim-slime/blob/main/plugin/slime.vim#L16 A few things:
|
I just tried setting |
Before pressing c-c c-c, do you select text? What I see
the invocation, depending on selected or not, is different Using |
I never knew about |
Definitely 😄 But is I've done something similar to step through a bunch of paragraphs:
Let me know if you can make that work — if not, we can try a few things |
I figured out what I needed! I did the following:
Thanks for the quick replies, I really appreciate it! |
Excellent — I'm glad you found a working combination 🎉 |
Suppose I select some text in order to send it to another terminal pane. If I select the text from top to bottom (ie the cursor is at the bottom of the selection when I send the text to the other tmux pane), then the cursor returns to the top where the selection started. Is there a way to not have this be the case and to keep the cursor in the exact location where I initiate the code sending?
The text was updated successfully, but these errors were encountered: