rhysd / clever-f.vim

Extended f, F, t and T key mappings for Vim.
https://rhysd.github.io/clever-f.vim
1.01k stars 44 forks source link

Reset previous_pos in finalize function to address unexpected behavior. #54

Closed tafryn closed 4 years ago

tafryn commented 4 years ago

Without this call, if the cursor is moved away from the current search result and then back to it then an additional invocation of the search function will jump to the next result rather than starting a new search as it should.