From c005ef14d3745c29deec189136eb55dd0a9cdfa7 Mon Sep 17 00:00:00 2001 From: rohan Date: Sat, 19 Oct 2024 00:28:22 +0530 Subject: [PATCH] relative line numbers in vim tutorial --- vim.html.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vim.html.markdown b/vim.html.markdown index d120b944..a2c17556 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -257,7 +257,15 @@ set smartcase set autoindent " Display line numbers on the left +" Display absolute line numbers set number +" Hide absolute line numbers +set nonumber +" Display relative line numbers +set relativenumber +" Hide relative line numbers +set norelativenumber + " Indentation options, change according to personal preference