(nvim) fixed clipboard selection
This commit is contained in:
@@ -3,9 +3,7 @@ vim.wo.number = true
|
||||
vim.o.relativenumber = true
|
||||
|
||||
-- sync clipboards of nvim and os
|
||||
vim.schedule(function()
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
end)
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
|
||||
-- disable line wrap..
|
||||
vim.o.wrap = false
|
||||
@@ -30,10 +28,10 @@ vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>") -- clear search highlight on
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "*",
|
||||
callback = function()
|
||||
vim.o.tabstop = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.expandtab = true
|
||||
vim.o.tabstop = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.expandtab = true
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user