yay
This commit is contained in:
commit
9d3d05066f
80 changed files with 7776 additions and 0 deletions
57
lua/config/sets.lua
Normal file
57
lua/config/sets.lua
Normal file
|
@ -0,0 +1,57 @@
|
|||
-- numbers
|
||||
vim.opt.nu = true
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- tab && indent
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.smartindent = true
|
||||
vim.o.breakindent = true
|
||||
|
||||
-- lines
|
||||
vim.opt.wrap = true
|
||||
vim.opt.smarttab = true
|
||||
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars:append "eol:↴"
|
||||
|
||||
-- undo
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
||||
vim.opt.undofile = true
|
||||
|
||||
-- search
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
|
||||
vim.o.ignorecase = true
|
||||
vim.o.smartcase = true
|
||||
|
||||
-- colors
|
||||
vim.opt.termguicolors = true
|
||||
vim.cmd("colorscheme catppuccin")
|
||||
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.cursorcolumn = true
|
||||
vim.cmd[[
|
||||
highlight CursorColumn guibg=none ctermbg=none
|
||||
highlight link CursorColumn CursorLine
|
||||
]]
|
||||
|
||||
-- misc
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.sidescrolloff = 8
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.isfname:append("@-@")
|
||||
vim.opt.updatetime = 50
|
||||
vim.o.mouse = "a"
|
||||
vim.opt.showmode = false
|
||||
|
||||
vim.o.completeopt = "menuone,noselect"
|
||||
|
||||
-- idfk pls fix nim
|
||||
vim.opt.path = vim.opt.path + "/home/d/.nimble/bin/**"
|
Loading…
Add table
Add a link
Reference in a new issue