[vim/vim] When using osc52, pasting is no longer possible if clipboard is set to unmaned or unnamedplus. (Issue #18983)

2 views
Skip to first unread message

mikoto2000

unread,
Dec 20, 2025, 6:23:50 PM (8 hours ago) Dec 20
to vim/vim, Subscribed
mikoto2000 created an issue (vim/vim#18983)

Steps to reproduce

  1. Create minimum vimrc to ./osc52.vim.
    set clipboard=unnamed
    
    packadd osc52
    let g:osc52_force_avail = v:true
    let g:osc52_disable_paste = v:true
    set clipmethod=osc52,x11,wayland
  2. Launch Vim(vim -n -N -u ./osc52.vim)
  3. Input aaaaa
  4. Yank aaaaa (yy)
  5. Past (p) => Nothing happens

Expected behaviour

aaaaa is pasted

Version of Vim

9.1.1999

Environment

OS: Ubuntu24.04 on WSL2 on Windows 11 Pro
Terminal: wsltty
Value of $TERM: xterm-256color
Shell: bash

or

OS: Ubuntu24.04 on WSL2 on Windows 11 Pro
Terminal: Windows Terminal
Value of $TERM: xterm-256color
Shell: bash

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18983@github.com>

Reply all
Reply to author
Forward
0 new messages