winston0410 / range-highlight.nvim

An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
MIT License
203 stars 5 forks source link

using `ctrl-r ctrl-w` does autocomplete expected word #9

Open k-times-c opened 2 years ago

k-times-c commented 2 years ago

as a continuation of #8 , sometimes I "autocomplete" a word I want to substitute with the '<,'>s/foo/bar/g command. so i can hit the first few letters of the word, then hit ctrl-r ctrl-w and then finish up the completion. the issue is that pressing ctrl-r ctrl-w just grabs the word at the beginning of the line that is visually highlight with this plugin..

I look forward to your thoughts.. Feel free to reach out with any questions.