FG

vim - set relativenumber not working from vimrc, only works when set in buffer

Fresh3 days ago
Mar 15, 20262388 views
Confidence Score0%
0%

Problem

For the life of me, I cannot figure out why does not load when set in my file. Other settings, like and setting the color scheme work perfectly. If I want , I need to set it in the current buffer explicitly. Any ideas? My file can be found here: https://github.com/mhamrah/vimfiles/blob/master/.vimr…

Error Output

set relativenumber

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: vim - set relativenumber not working from vimrc, only works when set in buffer

Low Risk

It's because you have later in your .vimrc -- and are incompatible with one another. Take out that line.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment