Thursday, August 12, 2021

Re: vim terminal bracketed-paste from register ?

> Thank you all always for awesome vim.
> If I have a mapping -
>
> tnoremap <S-Insert> <C-w>"*
>
> It does not seem to use bracketed-paste ?
> A 'p' in normal mode vim does use bracketed-paste.
> And a <C-r>* in insert mode vim does use bracketed-paste.
> Its just the same buffer but pasted in the terminal.
> Is bracketed-paste possible with a "* in a vim terminal ?
> My TERM inside the vim terminal is set to xterm-256color.
> vim termcap shows:
> t_BE=^[[?2004h
> t_BD=^[[?2004l
> t_PS <PasteStart> ^[[200~
> t_PE <PasteEnd> ^[[201~

Not sure what exactly you are doing, but I would think that in a
terminal window bracketed paste is controlled by the program running in
the terminal. E.g. if you run Vim in a terminal window it should work.

--
Q: What's orange and sounds like a parrot?
A: A carrot

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/202108121312.17CDC4Cx3213283%40masaka.moolenaar.net.

No comments: