mirror of
https://github.com/Hizenberg469/Vim-tutorials.git
synced 2026-04-19 22:02:24 +03:00
Text object, macro and Visual mode done
This commit is contained in:
62
macros.txt
62
macros.txt
@@ -1,12 +1,12 @@
|
||||
To record a macro, use the q command followed by a regsiter. To stop, type q.
|
||||
There are no special macro registers. There is only one a register, for example.
|
||||
To replay the macro use @ followed by the register.
|
||||
To repeat the most recently executed marco, use @@.
|
||||
NOTE: To record a macro, use the q command followed by a regsiter. To stop, type q.
|
||||
NOTE: There are no special macro registers. There is only one a register, for example.
|
||||
NOTE: To replay the macro use @ followed by the register.
|
||||
NOTE: To repeat the most recently executed marco, use @@.
|
||||
|
||||
Position the cursor at the beginning of the line with 0.
|
||||
Perform your edits and/or commands.
|
||||
Move the cursor to the next line with j.
|
||||
Stop the recording with q.
|
||||
TIP: Position the cursor at the beginning of the line with 0.
|
||||
TIP: Perform your edits and/or commands.
|
||||
TIP: Move the cursor to the next line with j.
|
||||
TIP: Stop the recording with q.
|
||||
|
||||
Think big.
|
||||
Feed and strengthen your mind.
|
||||
@@ -14,37 +14,33 @@ Better to have written a lousy ballet than to have composed no ballet at all.
|
||||
If you don’t prioritize your life, someone else will.
|
||||
Without great solitude no serious work is possible.
|
||||
|
||||
FIRST NAME: Joseph LAST NAME: Andrews
|
||||
FIRST NAME: Scott LAST NAME: Young
|
||||
FIRST NAME: Jessica LAST NAME: Smith
|
||||
FIRST NAME: Shirley LAST NAME: Landers
|
||||
Joseph Andrews
|
||||
Scott Young
|
||||
Jessica Smith
|
||||
Shirley Landers
|
||||
FIRST NAME: Pamela LAST NAME: Lewis
|
||||
|
||||
BEFORE: "Montgomery", "(Alabama)" => "usa"
|
||||
AFTER: 'Montgomery', 'Alabama', 'USA'
|
||||
|
||||
"Montgomery", "(Alabama)" => "usa"
|
||||
"Juneau", "(Alaska)" => "usa"
|
||||
"Phoenix", "(Arizona)" => "usa"
|
||||
"Little", "(Arkansas)" => "usa"
|
||||
"Sacramento", "(California)" => "usa"
|
||||
"Denver", "(Colorado)" => "usa"
|
||||
"Hartford", "(Connecticut)" => "usa"
|
||||
"Dover", "(Delaware)" => "usa"
|
||||
"Tallahassee", "(Florida)" => "usa"
|
||||
"Atlanta", "(Georgia)" => "usa"
|
||||
'Montgomery', 'Alabama' => 'USA'
|
||||
'Juneau', 'Alaska' => 'USA'
|
||||
'Phoenix', 'Arizona' => 'USA'
|
||||
'Little', 'Arkansas' => 'USA'
|
||||
'Sacramento', 'California' => 'USA'
|
||||
'Denver', 'Colorado' => 'USA'
|
||||
'Hartford', 'Connecticut' => 'USA'
|
||||
'Dover', 'Delaware' => 'USA'
|
||||
'Tallahassee', 'Florida' => 'USA'
|
||||
'Atlanta', 'Georgia' => 'USA'
|
||||
|
||||
amazon.com has address:
|
||||
54.239.17.7
|
||||
54.239.17.7 amazon.com
|
||||
216.58.192.78 google.com
|
||||
208.80.154.224 wikipedia.org
|
||||
|
||||
google.com has address:
|
||||
216.58.192.78
|
||||
|
||||
wikipedia.org has address:
|
||||
208.80.154.224
|
||||
|
||||
|
||||
|
||||
Remember, macros just replay what's stored in a register.
|
||||
IANOTE: €ýa
|
||||
ANOTE: Remember, macros just replay what's stored in a register.
|
||||
|
||||
let @d = '0jDkPa €ýa/ has
|
||||
Djdj'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user