summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-04-15 09:25:36 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-04-15 09:25:36 -0500
commita1991e505485abe9425560714d45b1fe1b2a7cfe (patch)
tree12c72effe0558e5bfafb4abc9dbdfb7c45411eed
parent7c4218d31ee2b3e9a008fe34ac7cc80f7536eeae (diff)
downloadnvim-a1991e505485abe9425560714d45b1fe1b2a7cfe.tar.xz
nvim-a1991e505485abe9425560714d45b1fe1b2a7cfe.zip
osc52 support for remote terminalsHEADmaster
-rw-r--r--lua/tjk/options.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/tjk/options.lua b/lua/tjk/options.lua
index 782c2ea..ee407f6 100644
--- a/lua/tjk/options.lua
+++ b/lua/tjk/options.lua
@@ -46,4 +46,6 @@ if os.getenv "TERM" == "linux" then
vim.cmd.colorscheme "vim"
vim.o.termguicolors = false
vim.o.list = false
+else
+ vim.g.clipboard = "osc52" -- force osc52 support for copying to clipboard in remote terminals. # TODO this should be auto-detected
end