diff options
author | NerdyPepper <[email protected]> | 2019-07-31 16:54:59 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-07-31 16:54:59 +0100 |
commit | 31d645b15bfde885ada913e5dff34e816fe316f4 (patch) | |
tree | d646ee93ffe11660ee9e66e04eaeb13978b4a4f6 /posts | |
parent | f5f27e893ed856abea5413090ae1fd05cd9dff1e (diff) |
add better annotations
Diffstat (limited to 'posts')
-rw-r--r-- | posts/bash_harder_with_vim.md | 3 |
1 files changed, 2 insertions, 1 deletions
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! |