feat(clipboard): fix clipboard for ssh+tmux
Fix clipboard when attaching to a tmux session over SSH.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Tell neovim to prefer tmux as clipboard over xsel/xclip.
|
||||
if vim.fn.getenv("TMUX") ~= vim.NIL then
|
||||
vim.fn.setenv("DISPLAY", vim.NIL)
|
||||
end
|
||||
Reference in New Issue
Block a user