Enabled relative line-numbers, with regular line-numbers on the current line.

pull/166/head
Kevin James Lausen 3 years ago
parent 52b3f617fd
commit 8ac4075576

@ -26,7 +26,7 @@ vim.opt.shiftwidth = 2 -- the number of spaces inserted
vim.opt.tabstop = 2 -- insert 2 spaces for a tab vim.opt.tabstop = 2 -- insert 2 spaces for a tab
vim.opt.cursorline = true -- highlight the current line vim.opt.cursorline = true -- highlight the current line
vim.opt.number = true -- set numbered lines vim.opt.number = true -- set numbered lines
vim.opt.relativenumber = false -- set relative numbered lines vim.opt.relativenumber = true -- set relative numbered lines
vim.opt.numberwidth = 4 -- set number column width to 2 {default 4} vim.opt.numberwidth = 4 -- set number column width to 2 {default 4}
vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time
vim.opt.wrap = false -- display lines as one long line vim.opt.wrap = false -- display lines as one long line

Loading…
Cancel
Save