owenrusk.dev

dotfiles

shell, editor, ssh.

git clone https://owenrusk.dev/dotfiles.git

dotfiles / nvim/lua/owen/options.lua -rw-r--r-- · 588 bytes

 1 local o = vim.opt
 2 
 3 o.number = true
 4 o.signcolumn = "yes"
 5 o.mouse = "a"
 6 o.clipboard = "unnamedplus"
 7 
 8 o.expandtab = true
 9 o.shiftwidth = 4
10 o.tabstop = 4
11 o.softtabstop = 4
12 o.smartindent = true
13 
14 o.ignorecase = true
15 o.smartcase = true
16 o.inccommand = "split"
17 o.completeopt = { "menuone", "noselect", "popup" }
18 o.path:append("**")
19 
20 o.undofile = true
21 o.swapfile = false
22 o.splitright = true
23 o.splitbelow = true
24 o.scrolloff = 5
25 o.wrap = false
26 o.colorcolumn = "100"
27 o.list = true
28 o.listchars = { tab = "> ", trail = "·", nbsp = "+" }
29 o.updatetime = 300
30 o.termguicolors = true
31 
32 vim.g.netrw_banner = 0