Add snacks and disable swap+backup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user