-- 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 vim.opt.relativenumber = false vim.opt.conceallevel = 0 vim.opt.timeoutlen = 1000 vim.opt.list = false vim.opt.pumblend = 0 vim.opt.tabstop = 4 vim.opt.shiftwidth = 4 vim.g.autoformat = false vim.opt.completeopt = "menuone,noselect,preview" vim.opt.foldmethod = "expr" vim.opt.foldexpr = "nvim_treesitter#foldexpr()" vim.opt.foldenable = false vim.opt.exrc = true vim.opt.ttimeoutlen = 0 vim.opt.termsync = false -- local osc52 = require("vim.ui.clipboard.osc52") -- -- vim.g.clipboard = { -- name = "OSC 52", -- copy = { -- ["+"] = function(lines) -- vim.g._clipboard = lines -- osc52.copy("+")(lines) -- end, -- ["*"] = function(lines) -- vim.g._clipboard = lines -- osc52.copy("*")(lines) -- end, -- }, -- paste = { -- -- ['+'] = require('vim.ui.clipboard.osc52').paste('+'), -- -- ['*'] = require('vim.ui.clipboard.osc52').paste('*'), -- ["+"] = function() -- return vim.g._clipboard -- end, -- ["*"] = function() -- return vim.g._clipboard -- end, -- }, -- }