Skip to content
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.

visual mode replace from ex replaces from the wrong line #716

Closed
fkautz opened this issue Jun 25, 2015 · 3 comments
Closed

visual mode replace from ex replaces from the wrong line #716

fkautz opened this issue Jun 25, 2015 · 3 comments

Comments

@fkautz
Copy link

fkautz commented Jun 25, 2015

Suppose you are on

77:  hello world
78:  hello world

Select line 77 with shift +v

Use ex mode to perform a modification

:s/hello/hola/

Line 78 hello is replaced instead of 77.

77:  hello world
78:  hola world
@bronson
Copy link
Contributor

bronson commented Jun 26, 2015

You're right, looks 100% reproducible.

Maybe this issue belongs on https://github.com/lloeki/ex-mode?

@jacekkopecky
Copy link
Contributor

Ah, I made cursor visible in visual mode so I've noticed that in visual-line selection mode, the cursor is placed after the selection, so indeed the cursor is on line 78. This may need to be special-cased in ex-mode; anyway, the issue does seem to belong there.

@lee-dohm
Copy link
Contributor

lee-dohm commented Apr 5, 2018

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!

@lee-dohm lee-dohm closed this as completed Apr 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants