diff options
Diffstat (limited to 'posts')
-rw-r--r-- | posts/bash_harder_with_vim.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/posts/bash_harder_with_vim.md b/posts/bash_harder_with_vim.md index 4d60831..c7c292a 100644 --- a/posts/bash_harder_with_vim.md +++ b/posts/bash_harder_with_vim.md | |||
@@ -1,8 +1,9 @@ | |||
1 | Bash is tricky, don't let your editor get in your way. Here's a couple of neat | 1 | Bash is tricky, don't let your editor get in your way. Here's a couple of neat |
2 | additions you could make to your `vimrc` for a better shell programming | 2 | additions you could make to your `vimrc` for a better shell programming |
3 | experience. | 3 | experience. |
4 | * * * | 4 | |
5 | #### Man pages inside vim | 5 | |
6 | ### Man pages inside vim | ||
6 | Source this script to get started: | 7 | Source this script to get started: |
7 | 8 | ||
8 | ``` | 9 | ``` |
@@ -16,9 +17,9 @@ By default, the manpage is opened in a horizontal split, I prefer using a new ta | |||
16 | ``` | 17 | ``` |
17 | let g:ft_man_open_mode = 'tab' | 18 | let g:ft_man_open_mode = 'tab' |
18 | ``` | 19 | ``` |
19 | * * * | ||
20 | 20 | ||
21 | #### Scratchpad to test your commands | 21 | |
22 | ### Scratchpad to test your commands | ||
22 | I often test my `sed` substitutions, here is | 23 | I often test my `sed` substitutions, here is |
23 | a sample from the script used to generate this site: | 24 | a sample from the script used to generate this site: |
24 | 25 | ||