Ron89 / thesaurus_query.vim

Multi-language Thesaurus Query and Replacement plugin for Vim/NeoVim
http://www.vim.org/scripts/script.php?script_id=5341
Apache License 2.0
220 stars 23 forks source link

apply the word replacement as a Vim action so that it can be repeated with . #24

Open unphased opened 6 years ago

unphased commented 6 years ago

Common workflow might be to replace a word with another word, for all or many instances of the original word. This would be made expedient by searching the original word and using the . to perform the replacement, so having thesaurus_query apply the change be an actual vim action would facilitate that!

Ron89 commented 6 years ago

Hi unphased, thank you for the suggestion. I think it is possible to link this plugin with https://github.com/tpope/vim-repeat to achieve what you want to do. But lately I don't have the time to research on how. Would you mind help me on this and send in a pull request with it? I think only plugin/thesaurus_query.vim is affected.