FG

How can I get Vim to indent all the lines in a list item - not just the second?

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

Problem

The option of Vim's setting will indent the second line of a list item to match the indentation of the first line. However, the third and subsequent lines revert to no indentation, thus: I'd really like it to indent all the lines, like this: Is this possible, either using Vim's own options, a scrip…

Error Output

1. Doing a list. This is my list. I am writing
   a list. It's quite a long list. It's really
long. I can't believe how long it is. And
this just the…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I get Vim to indent all the lines in a list item - not just the second?

Low Risk

I think just setting 'autoindent' should fix that. It does for me.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment