![]() This text can be retrieved with the following command unless you kill another block of text. ![]() Ctrl-w - This command will kill all of the text between the mark location and the current emacs cursor position.If you place the mark in the wrong place, you can set it elsewhere with the same command. A mark is an invisible pointer which will be used to mark the starting character of the region you wish to delete or move. Ctrl- or - Either of these commands will set a mark.The following commands will also allow various specific cut-and-pastes: As before, clicking the RIGHT mouse button in the same place kills the region selected.Clicking and dragging the RIGHT mouse button now extends a previously mouse-selected region, from the end of the region that is closer to where you click.If you drag after the last click, you can select a range of words or lines. Double and triple clicks with the LEFT mouse button now select the word or line surrounding where you click.The old method of clicking at the beginning with the LEFT mouse button and at the end with the RIGHT mouse button still works, but the cursor will end up at the end of the region instead of at the beginning. Dragging with the LEFT mouse button now puts the selected region in the kill ring so you can paste it into other X applications.The cut and paste behavior of Emacs is similar to most other standard X applications. How to move regions of text (cut and paste) in emacs
0 Comments
Leave a Reply. |