From 5b63cfde84de6a6ee4e9c2072845505dd753b4bc Mon Sep 17 00:00:00 2001 From: naman Date: Tue, 12 Dec 2023 03:23:39 +0530 Subject: [PATCH] enable relative numbering --- RES.md | 1 + init.lua | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 RES.md diff --git a/RES.md b/RES.md new file mode 100644 index 00000000..9b22f450 --- /dev/null +++ b/RES.md @@ -0,0 +1 @@ +- https://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118 diff --git a/init.lua b/init.lua index 94f7cf4e..9a3159ef 100644 --- a/init.lua +++ b/init.lua @@ -242,6 +242,9 @@ vim.o.hlsearch = false -- Make line numbers default vim.wo.number = true +-- enable relative line numbers +vim.wo.relativenumber = true + -- Enable mouse mode vim.o.mouse = 'a'