我正在将 tmux 与 WSL(Ubuntu 18.04)一起使用,但我不知道如何粘贴到 tmux 中。只需右键单击即可在普通终端上进行粘贴,但这在 tmux 中不起作用。
所有在线教程似乎都解释了如何将文本从 tmux 复制到我通过 tmux-yank 工作的系统剪贴板,但系统剪贴板到 tmux 没有运气。
编辑:默认情况下,这似乎适用于大多数人。我可以提供哪些对调试最有帮助的信息?
更新:我意识到右键单击当前可以让我移动分隔两个垂直选项卡的栏。我没有在任何地方设置这种行为,这可能来自哪里?这是我上网的 tmux conf:
# Set a new prefix / leader key.
set -g prefix M-j
bind M-j send-prefix
# Allow opening multiple terminals to view the same session at different sizes.
setw -g aggressive-resize on
# Remove delay when switching between Vim modes.
set -sg escape-time 10
# Allow Vim's FocusGained to work when your terminal gains focus.
# Requires Vim plugin: https://github.com/tmux-plugins/vim-tmux-focus-events …
Run Code Online (Sandbox Code Playgroud)