Skip to content
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

Use of <f28> and <f29> seems fragile #38

Open
von opened this issue Dec 23, 2019 · 3 comments
Open

Use of <f28> and <f29> seems fragile #38

von opened this issue Dec 23, 2019 · 3 comments

Comments

@von
Copy link

von commented Dec 23, 2019

Recently, another plugin I use started setting <f29>. This broke the use of pastetoggle in vim-bracketed-paste leaving me in paste mode after my first paste. (The most obvious symptom of this being "<F28>" appearing as a prefix to all subsequent pastes.)

It seems to be that <f28> and <f29> are just being used as variables by vim-bracketed-paste and to work around the issue above, I removed their usage with apparent success.

Before I PR this change, is there some subtly of <f28> and <f29> usage that I'm missing?

@ConradIrwin
Copy link
Owner

ConradIrwin commented Dec 23, 2019 via email

@von
Copy link
Author

von commented Dec 30, 2019

Pardon me for wandering a bit off topic here, but do you have a pointer as to how VIm 8 supports bracketed text? I've heard it does as well, but I have not been able to find any relevant documentation and playing around with Vim 8, I can't seem to make it work as I'd like (i.e. if I paste code with indentations, they just build up)

@antoineco
Copy link

@von better late than never 😄 I stumbled upon your question while wondering the exact same thing, and the answer is in

:help xterm-bracketed-paste

Linking the web version for convenience: https://vimhelp.org/term.txt.html#xterm-bracketed-paste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants