From c005ef14d3745c29deec189136eb55dd0a9cdfa7 Mon Sep 17 00:00:00 2001 From: rohan Date: Sat, 19 Oct 2024 00:28:22 +0530 Subject: [PATCH 1/2] 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 From 33e43c80cb54dd1d5ce08774396967a845c33994 Mon Sep 17 00:00:00 2001 From: rohan Date: Sat, 19 Oct 2024 00:30:05 +0530 Subject: [PATCH 2/2] remove excess new line --- vim.html.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/vim.html.markdown b/vim.html.markdown index a2c17556..e8c00310 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -266,7 +266,6 @@ set relativenumber " Hide relative line numbers set norelativenumber - " Indentation options, change according to personal preference " Number of visual spaces per TAB