COMPLETE rewrite of neovim config to see if we can speed things up!
This commit is contained in:
34
configs/dotfiles/nvim/lua/config/set.lua
Normal file
34
configs/dotfiles/nvim/lua/config/set.lua
Normal file
@ -0,0 +1,34 @@
|
||||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
--vim.opt.expandtab = true
|
||||
|
||||
vim.opt.smartindent = true
|
||||
|
||||
vim.opt.wrap = true
|
||||
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
||||
vim.opt.undofile = true
|
||||
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.isfname:append("@-@")
|
||||
|
||||
vim.opt.updatetime = 50
|
||||
vim.cmd([[set list]])
|
||||
--vim.cmd([[set listchars=trail:⋅]])
|
||||
vim.cmd([[set listchars=trail:⋅,nbsp:⋅,tab:\ \ ]])
|
||||
|
||||
vim.opt.colorcolumn = "100"
|
||||
vim.o.background = "dark" -- or "light" for light mode
|
||||
--vim.cmd([[colorscheme tokyonight-moon]])
|
Reference in New Issue
Block a user