FG

Vim open file at location that was last viewed

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

Problem

When I close a file in vim and reopen it, the file opens at the start of the file. Is there anyway to make the file open at the last place the I viewed?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Vim open file at location that was last viewed

Low Risk

Put this in your : Just change the big X with . If I put the code fails to print correctly.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment