altermo / iedit.nvim

Edit one occurrence of text and simultaneously have other selected occurrences edited in the same way.
MIT License
21 stars 2 forks source link

Default select all #2

Closed viocost closed 3 months ago

viocost commented 3 months ago

Hello, thats for great plugin.

Would it be possible to toggle selecting all by default instead of a first occurrence? Maybe a config parameter?

Thank you. Let me know if you need help.

altermo commented 3 months ago

This may already be implemented (though not documented): is require"iedit".select({all=true}) what you're looking for?

viocost commented 3 months ago

Oh right, this one worked for me: require("iedit").toggle({all=true}). Thanks again!