1
Fork 0
dots/nvim/lua/config/options.lua
Hadeed Ahmad b149a776b0 Start new neovim config
Add basic options and keymaps
2025-03-26 19:50:28 +05:00

37 lines
649 B
Lua

local opt = vim.opt
opt.expandtab = true
opt.shiftwidth = 4
opt.smartindent = true
opt.softtabstop = 4
opt.hidden = true
opt.swapfile = false
opt.splitright = true
opt.splitbelow = true
opt.number = true
opt.relativenumber = true
opt.cursorline = true
opt.colorcolumn = "80"
opt.signcolumn = "yes"
opt.laststatus = 3
opt.ignorecase = true
opt.inccommand = 'nosplit'
opt.incsearch = true
opt.smartcase = true
opt.scrolloff = 5
opt.termguicolors = true
opt.timeoutlen = 500
opt.wrap = false
opt.list = true
opt.listchars = { eol = "", nbsp = '', tab = '» ', trail = '·' }
opt.fillchars = { eob = " " }
opt.exrc = true
opt.mouse = "a"