From eca86dae55f0e6daca90eb10b3dd2f3955c12720 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 7 Jan 2022 14:44:41 -0300 Subject: [PATCH] nvim: relativenumber --- .config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 86bfca6..2cefaf0 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -4,6 +4,8 @@ set hidden " Do not save when switching buffers set inccommand=nosplit " Incremental live completion set tabstop=4 shiftwidth=4 " 4 space \t +set relativenumber cursorline cursorlineopt=number lazyredraw + set ignorecase smartcase set updatetime=250 @@ -15,6 +17,8 @@ highlight! htmlComment guifg=#474747 guibg=#ffffff highlight! htmlCommentPart guifg=#474747 guibg=#ffffff highlight! gitcommitComment guifg=#474747 guibg=#ffffff +highlight! CursorLineNr ctermfg=232 ctermbg=254 gui=bold guifg=#080808 guibg=#cccccc + set completeopt=menu,menuone,noselect lua << EOF