34 lines
554 B
Lua
34 lines
554 B
Lua
require("hex.installer")
|
|
require("hex.keymaps")
|
|
|
|
vim.g.mapleader = " "
|
|
|
|
local opt = vim.opt
|
|
|
|
opt.nu = true
|
|
opt.relativenumber = true
|
|
|
|
opt.tabstop = 4
|
|
opt.softtabstop = 4
|
|
opt.shiftwidth = 4
|
|
opt.expandtab = true
|
|
|
|
opt.smartindent = true
|
|
|
|
opt.swapfile = false
|
|
opt.backup = false
|
|
|
|
-- thanks primeagen, for this awesome feature i did not know about yet lol
|
|
opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
|
opt.undofile = true
|
|
|
|
opt.hlsearch = true
|
|
opt.incsearch = true
|
|
|
|
opt.termguicolors = true
|
|
|
|
opt.scrolloff = 8
|
|
|
|
opt.updatetime = 50
|
|
|
|
opt.colorcolumn = "80"
|