feat: dot plugin for new configuration

This commit is contained in:
Guz
2025-12-10 17:29:05 -03:00
parent 2fb6af9ea2
commit aafa1d5599
17 changed files with 56 additions and 1074 deletions

55
lua/dot/init.lua Normal file
View File

@@ -0,0 +1,55 @@
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- Filetype plugins
vim.o.filetype = "on"
-- Terminal
vim.o.termguicolors = true -- True colors
vim.g.have_nerd_font = true
---- Appearance
-- Line numbers
vim.o.number = true
vim.o.relativenumber = true
vim.o.signcolumn = "yes"
vim.o.colorcolumn = "80"
-- Indentation
vim.o.expandtab = false
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.breakindent = true
vim.o.list = true
vim.opt.listchars = { tab = "", trail = ".", nbsp = "" }
----
-- Mouse support
vim.o.mouse = "a"
-- Save undo history
vim.o.undofile = true
vim.o.ignorecase = true
vim.o.smartcase = true
vim.o.updatetime = 250
vim.o.timeoutlen = 300
vim.o.splitright = true
vim.o.splitbelow = true
vim.o.inccommand = "split"
vim.o.cursorline = true
vim.o.scrolloff = 10
vim.o.completeopt = "menuone,noselect"
-- Confirm on exit
vim.o.confirm = true