BlackSnow
V2EX  ›  Vim

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

  •  
  •   BlackSnow · Aug 29, 2024 · 4856 views
    This topic created in 826 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
    Vintingb
    Aug 29, 2024❤️1
    1
    更新 nvim 到最新版本,直接使用 +y 会自动运用 osc52

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