From 5151aeecbc9f2ee5574bbfeb791cc9a5e47a72d1 Mon Sep 17 00:00:00 2001 From: Marcelo Jacobus Date: Sun, 29 Jun 2025 20:22:28 -0300 Subject: [PATCH] More configs --- lua/user/keymaps.lua | 7 +++++++ lua/user/options.lua | 9 +++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index a6aaf73..a0df261 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -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 } diff --git a/lua/user/options.lua b/lua/user/options.lua index 74144db..9067e06 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -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 - -