Something went wrong. Try again.
My personal configuration files and scripts.
Something went wrong. Try again.
566 B · 17 lines
Lua
at master
123456789101112131415161718-- Use 2 spaces for indentation.local indent_width = 2vim.opt.tabstop = indent_width -- indenting with tabvim.opt.softtabstop = indent_widthvim.opt.shiftwidth = indent_width -- indenting with >vim.opt.expandtab = true -- use spaces, not tab characters
-- Use 80 characters as the maximum line length.local text_width = 80vim.opt.textwidth = text_widthvim.opt.colorcolumn = { text_width + 1 }
-- Yank/paste from/to clipboard.vim.opt.clipboard:append({ "unnamedplus" })
-- Align wrapped lines with the indentation for that line.vim.opt.breakindent = true