Hi all,
This might be a stupid question: Is there a way in TextMate 2 to cut, and then uncut(paste), the current line with 2 keystrokes? I.e, similar to the nano commands ‘Ctrl-k’ and ‘Ctrl-u’? As opposed to: select the current line, cut, then paste.
Thanks in advance.
Control-shift-K, command-V
On Sep 18, 2017, at 4:50 AM, Spiros Philopoulos sphilopoulos@gmail.com wrote:
Hi all,
This might be a stupid question: Is there a way in TextMate 2 to cut, and then uncut(paste), the current line with 2 keystrokes? I.e, similar to the nano commands ‘Ctrl-k’ and ‘Ctrl-u’? As opposed to: select the current line, cut, then paste.
Thanks in advance.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 18 September 2017 at 14:07, Jenny Harrison profharrison@gmail.com wrote:
Control-shift-K, command-V
I don’t think ⌃⇧K puts the line in the pasteboard, so ⌘V would *not* paste the line one just deleted. One could write a macro that does though: * ⌥⌘M (Start Recording) * ⇧⌘L (Select Line) * ⌘X (Cut) * ⌥⌘M (Stop Recording) * ⌃⌘M (Save Macro…)
Martin
On Sep 18, 2017, at 4:50 AM, Spiros Philopoulos sphilopoulos@gmail.com wrote:
Hi all,
This might be a stupid question: Is there a way in TextMate 2 to cut, and then uncut(paste), the current line with 2 keystrokes? I.e, similar to the nano commands ‘Ctrl-k’ and ‘Ctrl-u’? As opposed to: select the current line, cut, then paste.
Thanks in advance.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Sep 18, 2017, at 7:34 AM, Martin Kühl martin.kuehl@gmail.com wrote:
I don’t think ⌃⇧K puts the line in the pasteboard, so ⌘V would *not* paste the line one just deleted.
Right, I was just about to make the same observation.
m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 10! http://shop.oreilly.com/product/0636920055235.do iOS 10 Fundamentals! http://shop.oreilly.com/product/0636920055211.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html