Is there any text editor that can paste the selected lines?

For example I select 10 lines, then, when I use paste, it will paste the first 5 lines with the next 5 lines, separated with a tab.

I am using Windows but I can install Linux in VirtualBox to try a Linux text editor if necessary.

2 Answers 2


There is a linux command-line tool paste. Perhaps it can do what you want. (So paste not really an editor. It rather operates on text files, or text input.)

       paste - merge lines of files

       paste [OPTION]... [FILE]...

       Write lines consisting of the sequentially corresponding lines
       from each FILE, separated by TABs, to standard output.

Typically you combine paste together with cat, comm, join, cut head and tail.

  • I am using paste on Windows - I am using GnuWin32. However it would be quite useful to have a paste option in an editor
    – Joe Jobs
    Jul 18, 2021 at 10:02

If you use CudaText editor, it's easy to write a plugin in Python, and call it "Paste 2", then you can call it from "Plugins / Paste 2" menu. Plugin can take the clipboard contents, and insert tab-char into it, and do the insertion with that tab-char.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.