vim-utils/vim-vertical-move

clobbers search register

justinmk opened this issue · 2 comments

[c]lass Foo:
    def on_request(self, message):
        pass
    def respond(self):
        pass
class Bar(Foo):
    def on_request(self, message):
    def respond(self):                  

With the cursor at [c], invoking vim-vertical-move downwards sets the last search to \s+$`. The plugin should not modify the user's search history.

Hi, thanks for actively reporting bugs.

I have spent some time investigating this, but could not reproduce the issue. After performing a vim-vertical-move motion, I have inspected search history with q/ but there was nothing unusual there.

Just to make sure, I also wrote some tests: 3373c35, but they are all green (on travis-ci too).
The tests check that the search term after invoking vim-vertical-move motion stays the same.

@justinmk maybe I'm doing something wrong here - can you tell me the steps how to reproduce? Thanks

Sorry, this was my fault. Caused by another plugin.