mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-15 16:51:33 +00:00
fix clipboard
This commit is contained in:
@ -37,7 +37,11 @@ opt.autowrite = true -- Enable auto write
|
||||
opt.autoread = true
|
||||
-- only set clipboard if not in ssh, to make sure the OSC 52
|
||||
-- integration works automatically. Requires Neovim >= 0.10.0
|
||||
opt.clipboard = vim.env.SSH_TTY and "" or "unnamedplus" -- Sync with system clipboard
|
||||
|
||||
if not vim.env.SSH_TTY then
|
||||
opt.clipboard = "unnamedplus"
|
||||
end
|
||||
-- opt.clipboard = vim.env.SSH_TTY and "" or "unnamedplus" -- Sync with system clipboard
|
||||
opt.completeopt = "menu,menuone,noselect"
|
||||
opt.conceallevel = 2 -- Hide * markup for bold and italic, but not markers with substitutions
|
||||
opt.confirm = true -- Confirm to save changes before exiting modified buffer
|
||||
|
Reference in New Issue
Block a user