version 1.6, 2011/09/02 02:37:52 |
version 1.7, 2011/09/10 17:48:04 |
|
|
>> Try using M-v and C-v to move up and down, one page at a time. |
>> Try using M-v and C-v to move up and down, one page at a time. |
|
|
The final two motion commands we will learn are M-< (Meta-Less than) and |
The final two motion commands we will learn are M-< (Meta-Less than) and |
M-> (Meta-Greater than) which move you to the beginning and end of this file. |
M-> (Meta-Greater than) which move you to the beginning and end of a file, |
You may not want to try that now as you will probably lose your place in this |
respectively. You may not want to try that now as you will probably lose your |
tutorial. Note that on most terminals, < is above the , key, so you'll need |
place in this tutorial. Note that on most terminals, < is above the , key, so |
to press the Shift key to type <. |
you'll need to press the Shift key to type <. |
|
|
Movement Summary |
Movement Summary |
----------------- |
----------------- |
|
|
|
|
To insert text anywhere, simply move your cursor to the appropriate position |
To insert text anywhere, simply move your cursor to the appropriate position |
and begin typing. To delete characters, use the backspace key. If you use |
and begin typing. To delete characters, use the backspace key. If you use |
M-<backspace (Meta and backspace key), you will delete one word instead |
M-<backspace> (Meta and backspace key), you will delete one word instead |
of one character at a time. |
of one character at a time. |
|
|
To delete characters to the right of the cursor, you can use C-d to delete |
To delete characters to the right of the cursor, you can use C-d to delete |
|
|
then type C-y again to restore the last cut text block again. |
then type C-y again to restore the last cut text block again. |
|
|
Another way to cut or copy chunks of text is to first position your cursor at |
Another way to cut or copy chunks of text is to first position your cursor at |
the starting point of the chunk of text. Then type C-space to mark this as the |
the starting point of the chunk of text. Then type C-<space> to mark this as |
starting point to cut or copy. Then move the cursor to the end point of the |
the starting point to cut or copy. Then move the cursor to the end point of the |
text chunk that you wish to manipulate. Then type C-w to cut the region, or |
text chunk that you wish to manipulate. Then type C-w to cut the region, or |
M-w to copy the region. If you wish to cancel marking a block of text, simply |
M-w to copy the region. If you wish to cancel marking a block of text, simply |
type C-g to cancel the operation. |
type C-g to cancel the operation. |
|
|
----------- |
----------- |
|
|
Original Author of this document: Mayukh Bose, |
Original Author of this document: Mayukh Bose, |
Date last updated: 2011-09-02 |
Date last updated: 2011-09-10 |
|
|
Copyright |
Copyright |
--------- |
--------- |