Go to the first, previous, next, last section, table of contents.


Cutting And Pasting

One of the main functions of any editor is to allow you to move around chunks of text, Jade makes this very easy.

Generally, to paste down some text you have to get the text to be inserted into the window-system's clipboard (3). If the text you wish to paste is in one of the editor's buffers Jade has a number of commands for doing this, this is sometimes referred to as killing the text. For details of how to kill a piece of text see section Killing.

If the text to be pasted is in the same buffer as the position to which you want to copy it there is an easier way than putting it into the clipboard. For more details see section Commands on Blocks and the command Ctrl-i.

Once the text to be pasted is in the clipboard there are two commands which can be used to insert it into the buffer before the cursor,

Ctrl-y
Inserts text into the buffer before the cursor. The text inserted is either the current contents of the kill buffer, or the block marked in this window, if one exists.
Ctrl-Y
This is a variant of Ctrl-y, it treats the string that it is pasting as a "rectangle" of text. That is, each successive line in the string (each separated by a newline character) is inserted on successive lines in the buffer but at the same column position. For more details see section Rectangular Blocks and the function insert-rect.


Go to the first, previous, next, last section, table of contents.