FG
💻 Software

Vim visual mode, stay selected

Fresh5 days ago
Mar 15, 20267860 views
Confidence Score0%
0%

Problem

I love vim's visual mode. However when I select some text then do something to it the text is then unselected. For example lets say that I select a block of code and indent it the code is then unselected so if you pressed instead of then you have to reselect the code to indent it one more tab. Is t…

Error Output

4 >

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Vim visual mode, stay selected

Low Risk

There isn't a way to leave it selected, but there is a way to get the same selection back without all that manual labour. Select your stuff, do what you need (let's say, indent it), it will unselect itself, then gv

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment