Note - read Marks & Registers before reading this post.
There are some other ways of copy or delete text in vi.
Working with paragraphs:
If you are in paragraph text you can use } and { to move cursor to the beginning or ending of the paragraph respectively. so if you want to move a paragraph you can use { and d} .
and...
Educating yourself does not mean that you were stupid in the first place; it means that you are intelligent enough to know that there is plenty left to 'learn'. -Melanie Joy
Sunday, 30 June 2013
Friday, 28 June 2013
Vi - Marks and Registers
Marks:
vi has 26 "marks". A mark is set to any cursor location using the m command.
Each mark is designated by a letter.
Thusma sets the 'a' mark to the current location, andms sets the 's' mark.
You can move to the line containing a mark using the ' (single quote) command.
Thus 'a moves to the beginning of the line...