You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multi-cursor editing is great! The more I use multiple cursors, the more I wish for a function to edit all occurrences of a selection. I guess a pair of functions ScrollNextCursor/ScrollPrevCursor would also be needed so we can check all the selections before editing.
This would be much easier than ReplaceAll. ReplaceAll requires me to type/paste the target, then the replacement and feels long-winded, especially when there are spaces demanding quotes. If I make an error with ReplaceAll I may lose the unique target and cannot correct without undo.
Simply typing the replacement using multiple cursors feels much easier - like a superpower!
Sorry I don't have the skills to code this myself.
Kind Regards Gavin Holt
Version: 2.0.12-dev.75
Commit hash: 75b9a6c
Compiled on September 02, 2023
OS: Windows
Terminal: Conhost.exe
The text was updated successfully, but these errors were encountered:
I am currently working on a plugin for this feature. However, as far as I know there is no way to create new multicursors through lua plugins. I've submitted a pull request to add this binding, though.
Can't this be already done from lua via bp:SpawnMultiCursor() (possibly with an additional help from bp:Buf:SetCurCursor() or similar functions, if needed)?
Hi,
Multi-cursor editing is great! The more I use multiple cursors, the more I wish for a function to edit all occurrences of a selection. I guess a pair of functions ScrollNextCursor/ScrollPrevCursor would also be needed so we can check all the selections before editing.
This would be much easier than ReplaceAll. ReplaceAll requires me to type/paste the target, then the replacement and feels long-winded, especially when there are spaces demanding quotes. If I make an error with ReplaceAll I may lose the unique target and cannot correct without undo.
Simply typing the replacement using multiple cursors feels much easier - like a superpower!
Sorry I don't have the skills to code this myself.
Kind Regards Gavin Holt
Version: 2.0.12-dev.75
Commit hash: 75b9a6c
Compiled on September 02, 2023
OS: Windows
Terminal: Conhost.exe
The text was updated successfully, but these errors were encountered: