From a990589dbb453bad702d5067936275ce7189d080 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 16 Oct 2024 16:44:19 +0100 Subject: add relative line numbers to neovim --- NeoVim/.config/nvim/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NeoVim/.config/nvim') diff --git a/NeoVim/.config/nvim/init.lua b/NeoVim/.config/nvim/init.lua index 598257a..d994259 100644 --- a/NeoVim/.config/nvim/init.lua +++ b/NeoVim/.config/nvim/init.lua @@ -4,6 +4,7 @@ vim.g.maplocalleader = "\\" vim.schedule(function() vim.opt.clipboard = 'unnamedplus' end) + vim.opt.termguicolors = true vim.opt.tabstop = 2 vim.opt.softtabstop = 2 @@ -14,6 +15,7 @@ vim.opt.inccommand = 'split' vim.opt.cursorline = true vim.opt.scrolloff = 8 vim.opt.autoindent = true +vim.opt.relativenumber = true vim.cmd("set path+=**") -- Setup lazy.nvim -- cgit v1.2.3-13-gbd6f