initial commit

This commit is contained in:
ZotyDev 2026-02-22 13:49:58 -03:00
commit 179e92ee04
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
17 changed files with 2377 additions and 0 deletions

33
lua/settings.lua Normal file
View file

@ -0,0 +1,33 @@
-- Line numbers
vim.opt.number = true -- show absolute line numbers
vim.opt.relativenumber = true -- show relative line numbers
-- Mouse & clipboard
vim.opt.mouse = "a" -- enable mouse support
vim.opt.clipboard = "unnamedplus" -- use system clipboard
-- Visual behavior
vim.opt.termguicolors = true -- enable true colors
vim.opt.cursorline = true -- highlight the current line
vim.opt.wrap = false -- do not wrap long lines
vim.opt.signcolumn = "yes" -- always show the sign number (LSP, git)
-- Scrolling
vim.opt.scrolloff = 8 -- keep space above/below cursor
vim.opt.sidescrolloff = 8 -- keep space left/right of cursor
-- Indentation
vim.opt.expandtab = true -- use spaces instead of tabs
vim.opt.tabstop = 2 -- how many spaces a tab looks like
vim.opt.shiftwidth = 2 -- how many spaces when indenting
-- Search
vim.opt.ignorecase = true -- case-insensitive search
vim.opt.smartcase = true -- case-sensitive if uppercase is used
vim.opt.incsearch = true -- show matches while typing
vim.opt.hlsearch = false -- do not keep matches highlighted
-- Window splits
vim.opt.splitbelow = true -- horizontal splits open below
vim.opt.splitright = true -- vertical splits open to the right