W
W
webpixel2015-11-02 15:56:43
Sublime Text
webpixel, 2015-11-02 15:56:43

How to copy line to ST3 using hotkey without line break?

Greetings! Faced such a moment, often you have to copy a line from 1 file and paste it into another. In ST3, if nothing is selected and the cursor is on the line you need, just press CTRL + C and it copies the entire line to the buffer, but unfortunately, along with the transition to a new line, and that's not all, if you select 2 or more in the second file fragment and try to replace with text from the buffer, then it inserts over the first selected fragment + line break. In general, it was not possible to find a solution to this problem, maybe there are other ways or can I finish it with some kind of crutch? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ildar r. khasanshin, 2017-04-02
@ildarkhasanshin

the best way is to create a macro
docs.sublimetext.info/en/latest/extensibility/macr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question