vim.opt.number = true
vim.opt.background = "light"
vim.opt.linebreak = true
vim.opt.mouse = "a"
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.relativenumber = true
vim.opt.ttyfast = true -- Speed up scrolling in Vim, defaults true in iterm

require("eting.custom_basic_mappings")
require("eting.py_custom_basic_mappings")

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		"https://github.com/folke/lazy.nvim.git",
		"--branch=stable", -- latest stable release
		lazypath,
	})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup("eting.plugins", {
	change_detection = {
		notify = false,
	},
})
