Use word-boundary wrapping and count-aware displayed-line movement in ordinary buffers. Escape cancels Blink completion before falling back. Preserve the existing ergonomics check; it was not rerun during Git cleanup.
33 lines
647 B
Lua
33 lines
647 B
Lua
vim.o.expandtab = true
|
|
vim.o.shiftwidth = 2
|
|
vim.o.tabstop = 2
|
|
vim.o.softtabstop = 2
|
|
|
|
vim.o.number = true
|
|
vim.o.showmode = false
|
|
vim.o.showtabline = 0
|
|
vim.o.signcolumn = "yes"
|
|
vim.o.cursorline = true
|
|
vim.o.scrolloff = 10
|
|
|
|
vim.o.mouse = "a"
|
|
vim.o.clipboard = "unnamedplus"
|
|
vim.o.confirm = true
|
|
vim.o.timeoutlen = 300
|
|
vim.o.updatetime = 250
|
|
|
|
vim.o.breakindent = true
|
|
vim.o.linebreak = true
|
|
vim.o.undofile = true
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
vim.o.inccommand = "split"
|
|
|
|
vim.o.splitright = true
|
|
vim.o.splitbelow = true
|
|
|
|
vim.opt.shortmess:append("Wc")
|
|
|
|
vim.o.list = true
|
|
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
|