FG

Make Vim display a line at the edge of the set textwidth

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

Problem

Most of the text editors and IDEs that I use these days have a feature where they can display a line at a certain character length in the text buffer. It's useful when you want to keep lines in a file under a certain length. Is there any way to get Vim to do this, preferably using the already defin…

Error Output

textwidth

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Make Vim display a line at the edge of the set textwidth

Low Risk

for (g)vim, use the following: or whatever width you wish. Works in both vim & gvim. I have mine within an IF so it's conditional based on which type of files I edit. You may also use a +x/-x to base position of the column +/- from &textwidth. would…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment