FG

Is it possible to reset the sequence of indices that vim uses for file buffers?

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

Problem

As I open up new files inside vim, the buffer index seems to skip over arbitrary indices. I switch between buffers using , so it helps to have sequential indices for sanity/OCD sake. After a while, I just exit vim and load up the files I'm currently working on via CL and it orders them sequentially…

Error Output

b<buffer-index>

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to reset the sequence of indices that vim uses for file buffers?

Low Risk

No, not without restarting Vim. There are a number of reasons why they cannot be reset, some of them internal, some having to do with avoiding surprises with Vim scripts that store buffer numbers. Are you aware that you can do to jump to another buf…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment