aboutsummaryrefslogtreecommitdiff
path: root/NeoVim
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-16 16:44:19 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-16 16:44:19 +0100
commita990589dbb453bad702d5067936275ce7189d080 (patch)
treef86d5927f939e16a6f158ee4ce60375a0e0408e0 /NeoVim
parent430ac307862b1ab084ef77cc17ba416ab5fbbf20 (diff)
downloaddotfiles-a990589dbb453bad702d5067936275ce7189d080.tar.gz
dotfiles-a990589dbb453bad702d5067936275ce7189d080.tar.bz2
dotfiles-a990589dbb453bad702d5067936275ce7189d080.zip
add relative line numbers to neovim
Diffstat (limited to 'NeoVim')
-rw-r--r--NeoVim/.config/nvim/init.lua2
1 files changed, 2 insertions, 0 deletions
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