More configs

This commit is contained in:
Marcelo Jacobus 2025-06-29 20:22:28 -03:00
parent 6c1bd5be17
commit 5151aeecbc
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,10 @@
-- TODO: There are mappings that I did not port yet
-- For instance: https://github.com/mjacobus/lvim/tree/main/after/ftplugin
-- https://github.com/mjacobus/lvim/tree/main/after/plugin
-- https://github.com/mjacobus/lvim/tree/main/autoload
-- https://github.com/mjacobus/lvim/blob/main/after/plugin/legacy_setup.vim#L179-L212
-- Maybe some here: https://github.com/mjacobus/lvim/blob/main/lua/config/mappings.lua
vim.g.mapleader = " "
local map = vim.keymap.set
local opts = { noremap = true, silent = true }

View file

@ -1,3 +1,10 @@
vim.g.swap = false
vim.opt.relativenumber = false
vim.opt.colorcolumn = "100"
vim.opt.swapfile = false
-- suggested by chatgpt
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 2
@ -9,5 +16,3 @@ vim.opt.cursorline = true
vim.opt.signcolumn = "yes"
vim.opt.updatetime = 300
vim.opt.scrolloff = 8