Skip to content

Don't clobber visual mode#54

Open
bwhelm wants to merge 1 commit intoromainl:masterfrom
bwhelm:bwhelm-visual
Open

Don't clobber visual mode#54
bwhelm wants to merge 1 commit intoromainl:masterfrom
bwhelm:bwhelm-visual

Conversation

@bwhelm
Copy link

@bwhelm bwhelm commented Feb 12, 2026

When entering visual mode after searching, the current (StopHL) mapping inadvertently exits visual mode before moving the cursor. Creating an xmap avoiding the command line using execute() solves this.

When entering visual mode after searching, the current <Plug>(StopHL) mapping inadvertently exits visual mode before moving the cursor. Creating an xmap avoiding the command line using `execute()` solves this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant