The current behavior of pasting each line in a different caret is a very nice default, but sometimes I would need to paste a selection with multiple lines and have it replicated into each caret. Is it possible to do this right now?
Thanks in advance
On 24 Nov 2015, at 12:42, José Manuel Sánchez wrote:
The current behavior of pasting each line in a different caret is a very nice default, but sometimes I would need to paste a selection with multiple lines and have it replicated into each caret. Is it possible to do this right now?
This is not possible. If I understand you correctly, you copy n lines of text, then make m carets, and now want all n lines pasted at each of the m carets.
I don’t have a good idea about how the user could easily indicate that they want the changed behavior.
How about a different paste option in the menu? or a command in the TextMate bundle or something like that? would it be possible for me to implement it in a command? I haven’t messed around a lot with commands, mostly with snippets
El 10 ene 2016, a las 23:47, Allan Odgaard mailinglist@textmate.org escribió:
On 24 Nov 2015, at 12:42, José Manuel Sánchez wrote:
The current behavior of pasting each line in a different caret is a very nice default, but sometimes I would need to paste a selection with multiple lines and have it replicated into each caret. Is it possible to do this right now?
This is not possible. If I understand you correctly, you copy n lines of text, then make m carets, and now want all n lines pasted at each of the m carets.
I don’t have a good idea about how the user could easily indicate that they want the changed behavior.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 11 Jan 2016, at 8:38, José Manuel Sánchez wrote:
How about a different paste option in the menu? or a command in the TextMate bundle or something like that? would it be possible for me to implement it in a command? I haven’t messed around a lot with commands, mostly with snippets
Can’t be done as a command, you would have to add it to the core application.
Not overly keen on adding a new menu item (possibly with a key equivalent) for what I would consider an edge-case.
Better to find a way to re-use an existing “gesture” that would not have a defined meaning in the “paste multiple lines with multiple carets” context.