-
Notifications
You must be signed in to change notification settings - Fork 28
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
No need to wrap tmux escape codes starting with 2.5 #33
base: master
Are you sure you want to change the base?
Conversation
@von / @von-forks — you mentioned in the issue you were still seeing some wierdness depending on how you opened vim. Did you ever get to the bottom of it? |
@von is this ready to go? |
@ryanpcmcquen Per my last couple of comments in #32 this will break pasting from Normal and Visual mode and I don't know how to fix that while have it still work well for me in Insert. Personally, I don't do past from Normal or Visual mode and expect it to work, so this Pull works fine for me, but caveat emptor. |
@von I always switch to Insert mode as well ... I thought everyone did that? |
My idea was to get some protection from accidentally pasting while normal mode is active, resulting in execution of random normal mode commands. If I ever really wanted to execute pasted text in normal mode, I could always use |
@ssiegel is there any way to have that protection and still keep paste working in Insert mode? |
@ryanpcmcquen As I said in #32, I'm not able to check this right now with a current version of Vim, but I suspect some bad interaction with the implementation of bracketed paste which is included since Vim 8.0.0210. Do we still need this plugin at all? |
@ssiegel so should this plugin just disable itself on Vim greater than version 8? |
@ryanpcmcquen Maybe somebody using Vim 8.0.0210 or later can tell us. (You?) I am on Neovim and I deactivated this plugin as soon as it got native bracketed paste support (which unfortunately seems to be less reliable than this plugin, but that is another issue). |
@ssiegel I am running an older version of Vim on some systems ( |
@ryanpcmcquen Aha, so do you experience any problems when pasting in normal and/or insert mode? I still fail to understand how fd01b5d is related to the tmux change this pull request is about, and how I (author of fd01b5d, Neovim user, no longer using this plugin) can help to advance things. To shed some light on this it might help to know what issues there are when using combinations of:
and
Bugs reproducible without using tmux should be reported and handled outside of this pull request. |
@prashcr's script is working perfectly for me: In fact, I made a plugin out of it: |
Per #32