diff options
-rw-r--r-- | docs/index.html | 3 | ||||
-rw-r--r-- | posts/bash_harder_with_vim.md | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html index 9fbc18b..37a353b 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -69,7 +69,8 @@ echo "$1" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g& | |||
69 | <pre><code>syntax off # previously run commands | 69 | <pre><code>syntax off # previously run commands |
70 | edit index.html # in a buffer! | 70 | edit index.html # in a buffer! |
71 | w | so % | 71 | w | so % |
72 | echo "new_post.md" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g" -e "s/^(.)/\u\1/g" | 72 | !echo "new_post.md" | sed -E -e "s/\..+$//g" --snip-- |
73 | ^--- note the use of '!' | ||
73 | </code></pre></li> | 74 | </code></pre></li> |
74 | <li><p>Hit enter with the cursor on the line containing your command!</p> | 75 | <li><p>Hit enter with the cursor on the line containing your command!</p> |
75 | 76 | ||
diff --git a/posts/bash_harder_with_vim.md b/posts/bash_harder_with_vim.md index c31e36c..aef5353 100644 --- a/posts/bash_harder_with_vim.md +++ b/posts/bash_harder_with_vim.md | |||
@@ -44,7 +44,8 @@ q:p | |||
44 | syntax off # previously run commands | 44 | syntax off # previously run commands |
45 | edit index.html # in a buffer! | 45 | edit index.html # in a buffer! |
46 | w | so % | 46 | w | so % |
47 | echo "new_post.md" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g" -e "s/^(.)/\u\1/g" | 47 | !echo "new_post.md" | sed -E -e "s/\..+$//g" --snip-- |
48 | ^--- note the use of '!' | ||
48 | ``` | 49 | ``` |
49 | 50 | ||
50 | - Hit enter with the cursor on the line containing your command! | 51 | - Hit enter with the cursor on the line containing your command! |