Copy and Paste in a column in Notepad++

12

4

Suppose I have data in Notepad++ like this:

123                                                                         
342                                                                          
456                                            
789        
101        
102   

and I want to edit it by copying data from row 4 to row 6 at one time and paste it in column like this rather than pasting in a single row.

123 789     
342 101      
456 102  

Any help will be grateful

durgesh

Posted 2016-08-07T09:00:59.323

Reputation: 121

Answers

16

  1. Hold Alt+Shift+Arrow keys or Alt + mouse selection to select the rows you want to move.
    To quickly select several rows (lines), place the cursor at the beginning of the starting line, then hold Alt+Shift and click the end of the last line - make sure the selection covers the entire length of all selected lines.
  2. Press Ctrl+X to cut the selected text
  3. Place the cursor in the column you want to paste to and press Ctrl+V.

EDIT: Please note that the content you want to paste needs to come from Notepad++, copied using Column Mode (thanks to user @Dominique in the comments).

This will provide the result you want.

FastEthernet

Posted 2016-08-07T09:00:59.323

Reputation: 3 385

6One thing which is also very important: the thing you want to paste, needs to come from Notepad++, copied using Column Mode. (I've been trying copying a range from MS Excel and it did not work: I needed to copy the Excel cells into a new Notepad++ file and copy those lines in column mode and only then I could paste them in column mode). – Dominique – 2017-09-05T13:41:00.337