This commit is contained in:
hl committed 2026-11-14 18:34:41 +08:00
1 parent a7da71d4b6
commit b099e52d98
2 files changed
+10 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
local config = import("micro/config")
local os = import("os")
function init()
if os.Getenv("SSH_CONNECTION") ~= "" or os.Getenv("SSH_TTY") ~= "" then
config.SetGlobalOption("clipboard", "terminal")
else
config.SetGlobalOption("clipboard", "external")
end
end
-1
View File
@@ -1,5 +1,4 @@
{
"clipboard": "terminal",
"tabstospaces": true,
"tabsize": 2,
"eofnewline": false,