FG
💻 Software

How do you reuse a visual mode selection?

Fresh5 days ago
Mar 15, 202643382 views
Confidence Score1%
1%

Problem

Often when editing code, I'll select a block in visual mode and do a search and replace over the block. After I make the changes, however, it leaves visual mode. How do you do a new find and replace over the same selection?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you reuse a visual mode selection?

Low Risk

You may re-select the last selected visual area with .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment