40 lines
626 B
Lua
40 lines
626 B
Lua
local opt = vim.opt -- for conciseness
|
|
|
|
-- Numeracion de las lineas
|
|
opt.relativenumber = true
|
|
opt.number = true
|
|
|
|
-- tabs & indentation
|
|
opt.tabstop = 4
|
|
opt.shiftwidth = 4
|
|
opt.expandtab = true
|
|
opt.autoindent = true
|
|
|
|
-- Line wrapping
|
|
opt.wrap = false
|
|
|
|
-- Search setting
|
|
opt.ignorecase = true
|
|
opt.smartcase = true
|
|
|
|
-- Cursor line
|
|
opt.cursorline = true
|
|
|
|
-- appearance
|
|
opt.termguicolors = true
|
|
opt.background = "dark"
|
|
opt.signcolumn = "yes"
|
|
|
|
-- Backspace
|
|
opt.backspace = "indent,eol,start"
|
|
|
|
-- Clipboard
|
|
opt.clipboard:append("unnamedplus")
|
|
|
|
-- Splitt Windows
|
|
opt.splitright = true
|
|
opt.splitbelow = true
|
|
|
|
opt.iskeyword:append("-")
|
|
|