User Tools

Site Tools


vim:macros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vim:macros [2022/10/18 10:38] – created petervim:macros [2022/10/18 10:53] (current) peter
Line 4: Line 4:
  
   * This makes applying a set of complex changes multiple times across a code base much easier.   * This makes applying a set of complex changes multiple times across a code base much easier.
- 
-[[VIM:Macros|Macros]] 
  
 ---- ----
Line 17: Line 15:
  
 <WRAP info> <WRAP info>
-**NOTE:**   +**NOTE:**  A register is a single character from:  **{0-9a-zA-Z"}**.
- +
-  * A register is a single character from:  **{0-9a-zA-Z"}**.+
     * Use an uppercase letter to append.     * Use an uppercase letter to append.
  
Line 54: Line 50:
   * **V**:  Select the entire line.   * **V**:  Select the entire line.
   * **:**:  Start Ex mode.   * **:**:  Start Ex mode.
-  * **s/q//g**:  A substitution that deletes q globally.+  * **<nowiki>s/q//g</nowiki>**:  A substitution that deletes q globally.
   * **<Enter>**:  Press the **<Enter>** key to have the substitution applied to the current line.   * **<Enter>**:  Press the **<Enter>** key to have the substitution applied to the current line.
   * **q**:  Stop recording.   * **q**:  Stop recording.
vim/macros.1666089518.txt.gz · Last modified: 2022/10/18 10:38 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki