Add snacks and disable swap+backup

This commit is contained in:
2026-02-16 11:12:28 +01:00
parent 2e5621243c
commit a19a5139f2
5 changed files with 679 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
-- Make line numbers default
vim.opt.number = true
-- You can also add relative line numbers, to help with jumping.
vim.opt.relativenumber = true
vim.opt.relativenumber = false
-- Enable mouse mode, can be useful for resizing splits for example!
vim.opt.mouse = 'a'
@@ -27,6 +27,12 @@ vim.opt.breakindent = true
-- Save undo history
vim.opt.undofile = true
vim.opt.swapfile = false
vim.opt.writebackup = false
vim.opt.backup = false
vim.opt.autoread = true
vim.opt.autowrite = false
vim.opt.autochdir = false
-- Case-insensitive searching UNLESS \C or one or more capital letters in the search term
vim.opt.ignorecase = true