-
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
Use of <f28> and <f29> seems fragile #38
Comments
I believe this plugin should be unnecessary with modern vim, as vim 8 now has support for bracketed paste — that said, I still haven't tweaked my vim config to take advantage of that; so happy for you to make whatever changes fix your problem,
P.S. Superhuman is hiring — referral bonus for Full Stack Engineers ( https://superhuman.com/roles?gh_jid=260350 ) : $1,947.
…On Mon, Dec 23, 2019 at 1:19 PM, Von Welch < ***@***.*** > wrote:
Recently, another plugin I use started setting <f29> (
tpope/vim-rsi@ad8ba6b#diff-e41823e91c3b6b58c3c39b8ff44aa9ee
). 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 (
von-forks@24a8e4d#diff-44e9a3e5a7bb234b021836cc7fea54f3
) with apparent success.
Before I PR this change, is there some subtly of <f28> and <f29> usage that
I'm missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
#38?email_source=notifications&email_token=AAAXAQEGGQ2LPW6ETTVE76TQ2C3H3A5CNFSM4J6UCJZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICKPJLQ
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAAXAQGQVWBGLYMHZQ2DZLLQ2C3H3ANCNFSM4J6UCJZA
).
|
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) |
@von better late than never 😄 I stumbled upon your question while wondering the exact same thing, and the answer is in
Linking the web version for convenience: https://vimhelp.org/term.txt.html#xterm-bracketed-paste |
Recently, another plugin I use started setting
<f29>
. This broke the use ofpastetoggle
invim-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 byvim-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?The text was updated successfully, but these errors were encountered: