First time here? Check out the FAQ!
1

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

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.

MatrixManAtYrService's avatar
33
MatrixManAtYrService
asked 2020-09-12 17:14:29 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-09-14 09:31:57 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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

Wingware Support's avatar
4k
Wingware Support
answered 2020-09-14 09:32:57 -0500
edit flag offensive 0 remove flag delete link

Comments

That would be very cool. Thank you.

MatrixManAtYrService's avatar MatrixManAtYrService (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's avatar Wingware Support (2020-09-14 14:56:34 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer