2023-01-07 17:52:40 +08:00
|
|
|
-- Options are automatically loaded before lazy.nvim startup
|
|
|
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
|
|
|
-- Add any additional options here
|
2025-06-13 04:41:01 +08:00
|
|
|
|
|
|
|
if vim.fn.has("gui_running") == 1 then
|
|
|
|
vim.o.clipboard = ""
|
2025-06-22 02:49:15 +08:00
|
|
|
elseif vim.fn.has("wsl") == 1 then
|
|
|
|
vim.g.clipboard = {
|
|
|
|
name = "WSL clipboard",
|
|
|
|
copy = {
|
|
|
|
["+"] = "clip.exe",
|
|
|
|
["*"] = "clip.exe",
|
|
|
|
},
|
|
|
|
paste = {
|
|
|
|
["+"] = "powershell.exe -NoProfile -Command Get-Clipboard",
|
|
|
|
["*"] = "powershell.exe -NoProfile -Command Get-Clipboard",
|
|
|
|
},
|
|
|
|
cache_enabled = 0,
|
|
|
|
}
|
2025-06-22 03:08:35 +08:00
|
|
|
vim.opt.fileformat = "unix"
|
2025-06-13 04:41:01 +08:00
|
|
|
end
|
2025-06-15 07:27:46 +08:00
|
|
|
vim.g.copilot_no_tab_map = true
|
2025-05-25 07:48:16 +08:00
|
|
|
vim.o.guifont = "Monaco:h16"
|
2025-06-05 08:34:57 +08:00
|
|
|
vim.cmd("set wrap")
|