diff options
Diffstat (limited to 'docs/index.xml')
-rw-r--r-- | docs/index.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/index.xml b/docs/index.xml index 5f472fa..283d364 100644 --- a/docs/index.xml +++ b/docs/index.xml | |||
@@ -47,7 +47,7 @@ prefixed with the arrow):</p> | |||
47 | } | 47 | } |
48 | </code></pre> | 48 | </code></pre> |
49 | 49 | ||
50 | <h2 id="The%20arglist">The arglist</h2> | 50 | <h3 id="The%20arglist">The arglist</h3> |
51 | 51 | ||
52 | <p>For the initial pass, I decided to handle imports, this was | 52 | <p>For the initial pass, I decided to handle imports, this was |
53 | a simple find and replace operation, done to all the files | 53 | a simple find and replace operation, done to all the files |
@@ -79,7 +79,7 @@ every file in the arglist:</p> | |||
79 | <pre><code>:argdo s/from_str/from_value/g | 79 | <pre><code>:argdo s/from_str/from_value/g |
80 | </code></pre> | 80 | </code></pre> |
81 | 81 | ||
82 | <h2 id="The%20quickfix%20list">The quickfix list</h2> | 82 | <h3 id="The%20quickfix%20list">The quickfix list</h3> |
83 | 83 | ||
84 | <p>Next up, replacing <code>r#" ... "#</code> with <code>json!( ... )</code>. I | 84 | <p>Next up, replacing <code>r#" ... "#</code> with <code>json!( ... )</code>. I |
85 | couldn't search and replace that trivially, so I went with a | 85 | couldn't search and replace that trivially, so I went with a |
@@ -144,7 +144,7 @@ the list, vim indicates your index:</p> | |||
144 | <p>But, I had to manually pick out matches, and it involved | 144 | <p>But, I had to manually pick out matches, and it involved |
145 | some button mashing.</p> | 145 | some button mashing.</p> |
146 | 146 | ||
147 | <h2 id="External%20Filtering">External Filtering</h2> | 147 | <h3 id="External%20Filtering">External Filtering</h3> |
148 | 148 | ||
149 | <p>Some code reviews later, I was asked to format all the json | 149 | <p>Some code reviews later, I was asked to format all the json |
150 | inside the <code>json!</code> macro. All you have to do is pass a | 150 | inside the <code>json!</code> macro. All you have to do is pass a |
@@ -215,7 +215,7 @@ another register if it works as intended. I think of <code>qq</code> as | |||
215 | </ol> | 215 | </ol> |
216 | </div></description> | 216 | </div></description> |
217 | <link>https://peppe.rs/posts/rapid_refactoring_with_vim/</link> | 217 | <link>https://peppe.rs/posts/rapid_refactoring_with_vim/</link> |
218 | <pubDate>Wed, 01 Apr 2020 06:25:00 +0000</pubDate> | 218 | <pubDate>Wed, 01 Apr 2020 06:29:00 +0000</pubDate> |
219 | <guid>https://peppe.rs/posts/rapid_refactoring_with_vim/</guid> | 219 | <guid>https://peppe.rs/posts/rapid_refactoring_with_vim/</guid> |
220 | </item> | 220 | </item> |
221 | <item> | 221 | <item> |