Ask Your Question
1

vim-mode 'V/foo[enter]' removes selection

asked 2020-09-12 17:14:29 -0500

updated 2020-09-14 09:31:57 -0500

Say I want to highlight all lines between my cursor and the string 'foo'. I am accustomed to being able to do one of:

V/foo[enter]

V?foo[enter]

Depending on whether 'foo' is before or after my cursor. The search works, and the selection works, but when I hit [enter] to stop typing my search string and start manipulating the selection, the selection goes away and I'm left back where I started.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-09-14 09:32:57 -0500

I think this is a bug. We'll try to fix it soon in an update.

edit flag offensive delete link more

Comments

That would be very cool. Thank you.

MatrixManAtYrService gravatar imageMatrixManAtYrService ( 2020-09-14 12:40:12 -0500 )edit

This should be fixed in update 7.2.5.2 when that is available. There are some limitations in our emulation since our underlying editor cannot put the caret in the middle of a selection, but it should select the same things and apply edits in the same way. Please let us know if you see other problems after 7.2.5.2.

Wingware Support gravatar imageWingware Support ( 2020-09-14 14:56:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-09-12 17:14:29 -0500

Seen: 385 times

Last updated: Sep 14