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