Addded local vars to make it easier to edit

This commit is contained in:
2023-06-22 20:26:31 +02:00
parent ed68e0f86b
commit a011b72fb0

View File

@@ -1,27 +1,34 @@
vim.g.mapleader = " " local g = vim.g
local o = vim.o
local opt = vim.opt
vim.opt.nu = true g.mapleader = " "
vim.opt.relativenumber = true
vim.opt.tabstop = 4 opt.nu = true
vim.opt.softtabstop = 4 opt.relativenumber = true
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true opt.tabstop = 4
vim.opt.wrap = false opt.softtabstop = 4
opt.shiftwidth = 4
opt.expandtab = true
vim.opt.hlsearch = false opt.smartindent = true
vim.opt.incsearch = true opt.wrap = false
vim.opt.termguicolors = true o.ignorecase = true
o.smartcase = true
vim.opt.scrolloff = 8 opt.hlsearch = false
vim.opt.signcolumn = "yes" opt.incsearch = true
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50 opt.termguicolors = true
opt.scrolloff = 8
opt.signcolumn = "yes"
opt.isfname:append("@-@")
opt.updatetime = 50
-- Options for nvim-tree -- Options for nvim-tree
vim.g.loaded_netrw = 1 g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1 g.loaded_netrwPlugin = 1