nvim/lua/config/options.lua
Simon Lasbrugnas 1c69d73784
chore: update options
* Ignore case and use smart case for searches

* Turn on line wrap, linebreak, breakindent

* Inverse splits positions

* Turn off --- more --- display
2024-11-09 00:28:22 +01:00

43 lines
746 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.

local opt = vim.opt
opt.number = true
opt.relativenumber = true
opt.tabstop = 4
opt.softtabstop = 4
opt.shiftwidth = 4
opt.expandtab = false
opt.smartindent = true
opt.cursorline = true
opt.wrap = true
opt.linebreak = true
opt.breakindent = true
opt.showbreak = "> "
opt.inccommand = "split"
opt.incsearch = true
opt.smartcase = true
opt.ignorecase = true
opt.splitbelow = true
opt.splitright = true
opt.formatoptions:remove "o"
opt.swapfile = false
opt.backup = false
opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
opt.undofile = true
opt.termguicolors = true
opt.scrolloff = 8
opt.updatetime = 100
opt.list = true
opt.listchars = "tab: ,extends:,precedes:,nbsp:·,trail:·"
opt.clipboard = "unnamedplus"
opt.more = false