From 6ce4e742fb1914c38bebbf7f03b4519e96167810 Mon Sep 17 00:00:00 2001 From: Marcos Laredo Date: Thu, 3 Apr 2025 22:26:28 +0300 Subject: [PATCH] Personal preferences 1st commit --- init.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index cbf9ff65..d1c998e9 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.opt` @@ -102,11 +102,16 @@ vim.g.have_nerd_font = false vim.opt.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! --- vim.opt.relativenumber = true +vim.opt.relativenumber = true -- Enable mouse mode, can be useful for resizing splits for example! vim.opt.mouse = 'a' +local TAB_WIDTH = 3 +vim.opt.tabstop = TAB_WIDTH +vim.opt.softtabstop = TAB_WIDTH +vim.opt.shiftwidth = TAB_WIDTH + -- Don't show the mode, since it's already in the status line vim.opt.showmode = false