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