feat: config
This commit is contained in:
commit
d47035b8c7
11 changed files with 421 additions and 0 deletions
34
init.lua
Normal file
34
init.lua
Normal file
|
@ -0,0 +1,34 @@
|
|||
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"
|
Loading…
Add table
Add a link
Reference in a new issue