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 +++--- posts/rapid_refactoring_with_vim.md | 6 +++--- 3 files changed, 10 insertions(+), 10 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):

} -

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 diff --git a/posts/rapid_refactoring_with_vim.md b/posts/rapid_refactoring_with_vim.md index 66ca0e3..4dd3186 100644 --- a/posts/rapid_refactoring_with_vim.md +++ b/posts/rapid_refactoring_with_vim.md @@ -34,7 +34,7 @@ had to be converted to: } ``` -## 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 @@ -72,7 +72,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 @@ -148,7 +148,7 @@ And just like `argdo`, you can `cdo` to apply commands to 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