From c7972dc942aea0808f4d4068dacd15ab8c73f9e2 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 1 Apr 2020 11:59:21 +0530 Subject: fix heading formatting --- docs/index.xml | 8 ++++---- docs/posts/rapid_refactoring_with_vim/index.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docs') 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):

} -

The arglist

+

The arglist

For the initial pass, I decided to handle imports, this was a simple find and replace operation, done to all the files @@ -79,7 +79,7 @@ every file in the arglist:

:argdo s/from_str/from_value/g
 
-

The quickfix list

+

The quickfix list

Next up, replacing r#" ... "# with json!( ... ). I couldn't search and replace that trivially, so I went with a @@ -144,7 +144,7 @@ the list, vim indicates your index:

But, I had to manually pick out matches, and it involved some button mashing.

-

External Filtering

+

External Filtering

Some code reviews later, I was asked to format all the json inside the json! macro. All you have to do is pass a @@ -215,7 +215,7 @@ another register if it works as intended. I think of qq as https://peppe.rs/posts/rapid_refactoring_with_vim/ -Wed, 01 Apr 2020 06:25:00 +0000 +Wed, 01 Apr 2020 06:29:00 +0000 https://peppe.rs/posts/rapid_refactoring_with_vim/ diff --git a/docs/posts/rapid_refactoring_with_vim/index.html b/docs/posts/rapid_refactoring_with_vim/index.html index 4e33a31..00c9a80 100644 --- a/docs/posts/rapid_refactoring_with_vim/index.html +++ b/docs/posts/rapid_refactoring_with_vim/index.html @@ -71,7 +71,7 @@ prefixed with the arrow):

} -

The arglist

+

The arglist

For the initial pass, I decided to handle imports, this was a simple find and replace operation, done to all the files @@ -103,7 +103,7 @@ every file in the arglist:

:argdo s/from_str/from_value/g
 
-

The quickfix list

+

The quickfix list

Next up, replacing r#" ... "# with json!( ... ). I couldn't search and replace that trivially, so I went with a @@ -168,7 +168,7 @@ the list, vim indicates your index:

But, I had to manually pick out matches, and it involved some button mashing.

-

External Filtering

+

External Filtering

Some code reviews later, I was asked to format all the json inside the json! macro. All you have to do is pass a -- cgit v1.2.3