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