Addded local vars to make it easier to edit
This commit is contained in:
@@ -1,27 +1,34 @@
|
||||
vim.g.mapleader = " "
|
||||
local g = vim.g
|
||||
local o = vim.o
|
||||
local opt = vim.opt
|
||||
|
||||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
g.mapleader = " "
|
||||
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
opt.nu = true
|
||||
opt.relativenumber = true
|
||||
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.wrap = false
|
||||
opt.tabstop = 4
|
||||
opt.softtabstop = 4
|
||||
opt.shiftwidth = 4
|
||||
opt.expandtab = true
|
||||
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
opt.smartindent = true
|
||||
opt.wrap = false
|
||||
|
||||
vim.opt.termguicolors = true
|
||||
o.ignorecase = true
|
||||
o.smartcase = true
|
||||
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.isfname:append("@-@")
|
||||
opt.hlsearch = false
|
||||
opt.incsearch = true
|
||||
|
||||
vim.opt.updatetime = 50
|
||||
opt.termguicolors = true
|
||||
|
||||
opt.scrolloff = 8
|
||||
opt.signcolumn = "yes"
|
||||
opt.isfname:append("@-@")
|
||||
|
||||
opt.updatetime = 50
|
||||
|
||||
-- Options for nvim-tree
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
g.loaded_netrw = 1
|
||||
g.loaded_netrwPlugin = 1
|
||||
|
||||
Reference in New Issue
Block a user