nvim/lua/config/options.lua
Simon Lasbrugnas e2513e37b3
chore(config): remove netrw options
chore(config): add list & listchars config
2024-04-19 03:18:28 +02:00

28 lines
574 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.opt.smartindent = true
vim.opt.wrap = false
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.sidescrolloff = 16
vim.opt.updatetime = 100
vim.opt.list = false
vim.opt.listchars = "tab:» ,extends:,precedes:,nbsp:·,trail:·"