feat(nvim): Fix folds and remove unnamedplus

This commit is contained in:
2026-03-25 20:23:45 +00:00
parent b2fd66bb71
commit dd22869a29
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -10,6 +10,7 @@ vim.opt.concealcursor = 'nc' -- Conceal text in normal mode only
vim.opt.signcolumn = "yes" -- Always show the sign column
vim.o.laststatus = 1 -- Always show the status line
vim.o.winborder = nil -- Use default border for floating windows
vim.o.foldlevelstart = 99 -- Start with all folds closed
-- Indentation
vim.opt.tabstop = 4 -- Number of spaces a tab represents
vim.opt.softtabstop = 4 -- Number of spaces a <Tab> in Insert mode equals
@@ -33,9 +34,6 @@ vim.opt.autoread = true -- Automati
vim.opt.swapfile = false -- Disable swap files
-- Formatting
vim.opt.formatoptions:remove("ro") -- Remove 'ro' from formatoptions
-- Clipboard (testing unnamedplus... might like it)
vim.opt.clipboard = "unnamedplus"
--Move lines
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
+1 -1
View File
@@ -148,4 +148,4 @@
"src": "https://github.com/lervag/vimtex"
}
}
}
}