BlackSnow
V2EX  ›  Vim

nvim 无法粘贴到转存到系统剪切板

  •  
  •   BlackSnow · Aug 29, 2024 · 3969 views
    This topic created in 627 days ago, the information mentioned may be changed or developed.

    ubuntu + nvim 使用的是 tmux 集成的 clipboard tool

    最近好像不知道误触乐了 tmux 的配置还是怎么样,不能从文件内向外复制内容了。应该也跟 SSHD 配置没有关系,都是使用默认设置。

    贴一下 tmux 配置和+寄存器的设置 config tmuxconfig

    3 replies    2024-08-30 10:46:46 +08:00
    Vintingb
        1
    Vintingb  
       Aug 29, 2024   ❤️ 1
    更新 nvim 到最新版本,直接使用 +y 会自动运用 osc52

    我一般这样使用:
    ```shell
    vim.keymap.set('x', 'c', '"+y')
    ```
    BlackSnow
        3
    BlackSnow  
    OP
       Aug 30, 2024
    @Vintingb 感谢大佬,有效果
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5415 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:41 · PVG 14:41 · LAX 23:41 · JFK 02:41
    ♥ Do have faith in what you're doing.