relative number

This commit is contained in:
Christoph J. Scherr 2024-02-16 10:36:41 +01:00
parent 0fc0e010c6
commit e7f7ad4ca8
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 10 additions and 9 deletions

View File

@ -70,15 +70,16 @@ opt.foldlevel = 10 -- start with all folds open
vim.o.guifont = "FiraCode Nerd Font:h22" vim.o.guifont = "FiraCode Nerd Font:h22"
opt.termguicolors = true opt.termguicolors = true
opt.shortmess = "xsTOInfFitloCaAs" opt.shortmess = "xsTOInfFitloCaAs"
opt.showmode = true -- Show mode in cmd window opt.showmode = true -- Show mode in cmd window
opt.scrolloff = 2 -- Keep at least n lines above/below opt.scrolloff = 2 -- Keep at least n lines above/below
opt.sidescrolloff = 0 -- Keep at least n lines left/right opt.sidescrolloff = 0 -- Keep at least n lines left/right
opt.numberwidth = 2 -- Minimum number of columns to use for the line number opt.numberwidth = 2 -- Minimum number of columns to use for the line number
opt.number = true -- Show line numbers opt.number = true -- Show line numbers
opt.ruler = true -- Default status ruler opt.relativenumber = true -- Show relative line numbers
opt.list = true -- Show hidden characters opt.ruler = true -- Default status ruler
opt.showtabline = 1 -- Don't change this, goes back to a vanilla vim default opt.list = true -- Show hidden characters
opt.laststatus = 3 -- Always show laststatus opt.showtabline = 1 -- Don't change this, goes back to a vanilla vim default
opt.laststatus = 3 -- Always show laststatus
if vim.g.started_by_firenvim == true then if vim.g.started_by_firenvim == true then
opt.showtabline = 1 -- Don't show tabline in firenvim, unless multitab opt.showtabline = 1 -- Don't show tabline in firenvim, unless multitab