Skip to content

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

Open

Description

@von

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?

Activity

  1. ConradIrwin commented on Dec 23, 2019

    @ConradIrwin
    Owner
  2. von commented on Dec 30, 2019

    @von
    Author

    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)

  3. antoineco commented on Apr 16, 2021

    @antoineco

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions