vim.g.mapleader = " "

vim.opt.mouse = ""
vim.opt.list = false
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.expandtab = true
vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.clipboard = "unnamedplus"
vim.opt.updatetime = 200
vim.opt.termguicolors = true
vim.opt.fillchars = { eob = " " }

vim.opt.swapfile = false
vim.opt.smartindent = true
vim.opt.laststatus = 3

vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.loaded_python3_provider = 0
vim.g.loaded_perl_provider = 0
vim.g.loaded_ruby_provider = 0

vim.opt.backup = false
vim.opt.writebackup = false

vim.keymap.set("n", "<leader>nh", "<CMD>:nohlsearch<CR>", { silent = true })
vim.keymap.set("n", "<leader>nh", "<CMD>:nohlsearch<CR>", { silent = true })
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", { noremap = true, silent = true })
