From c7972dc942aea0808f4d4068dacd15ab8c73f9e2 Mon Sep 17 00:00:00 2001
From: Akshay
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
-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.
-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/
-
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
-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.
-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