feat: initial commit
- basic config according to spec
This commit is contained in:
commit
9b0446c5f6
36 files changed
+1114
No files matched your search
@@ -0,0 +1,29 @@
|
||||
local o = vim.opt
|
||||
|
||||
o.number = true
|
||||
o.relativenumber = true
|
||||
o.signcolumn = "yes"
|
||||
o.termguicolors = true
|
||||
o.showmode = false -- mini.statusline shows it
|
||||
|
||||
o.expandtab = true
|
||||
o.shiftwidth = 2
|
||||
o.tabstop = 2
|
||||
o.softtabstop = 2
|
||||
|
||||
o.undofile = true -- undodir defaults to stdpath("state")/undo
|
||||
o.swapfile = false
|
||||
|
||||
o.scrolloff = 8
|
||||
o.splitright = true
|
||||
o.splitbelow = true
|
||||
o.ignorecase = true
|
||||
o.smartcase = true
|
||||
|
||||
o.foldlevel = 99 -- treesitter sets foldexpr per buffer
|
||||
o.updatetime = 250
|
||||
|
||||
-- Clipboard is not synced. Over SSH, "+ goes through OSC 52.
|
||||
if vim.env.SSH_TTY then
|
||||
vim.g.clipboard = "osc52"
|
||||
end
|
||||
Reference in new issue
Block a user