Add relative line numbers

This commit is contained in:
Zoé Cassiopée Gauthier 2023-07-21 16:21:33 -04:00
parent 1d4a017342
commit 552b1ebe4c

7
vimrc
View File

@ -10,6 +10,7 @@ Plug 'maxmellon/vim-jsx-pretty'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'pangloss/vim-javascript' Plug 'pangloss/vim-javascript'
Plug 'peitalin/vim-jsx-typescript' Plug 'peitalin/vim-jsx-typescript'
Plug 'rust-lang/rust.vim'
Plug 'tpope/vim-endwise' Plug 'tpope/vim-endwise'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rails' Plug 'tpope/vim-rails'
@ -23,6 +24,8 @@ Plug 'deuxpi/witchhazel', { 'branch': 'vim-hypercolor' }
call plug#end() call plug#end()
set nocompatible
if has('autocmd') if has('autocmd')
filetype plugin indent on filetype plugin indent on
endif endif
@ -48,6 +51,9 @@ if maparg('<C-L>', 'n') ==# ''
endif endif
set laststatus=2 set laststatus=2
set modelines=5
set modeline
set relativenumber
set ruler set ruler
set wildmenu set wildmenu
@ -87,6 +93,7 @@ set termguicolors
if $TERM ==# 'xterm-kitty' if $TERM ==# 'xterm-kitty'
let &t_ut='' let &t_ut=''
endif endif
set ttyfast
highlight clear SignColumn highlight clear SignColumn