Ask Your Question

Revision history [back]

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.

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 ofof:

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.

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.

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.