aboutsummaryrefslogtreecommitdiff
path: root/posts/bash_harder_with_vim.md
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-07-31 17:18:00 +0100
committerNerdyPepper <[email protected]>2019-07-31 17:18:00 +0100
commit05bdbd020afaf1574a1fb5c8a1c7238a2cddb091 (patch)
tree1779f2cd27d0efb4de60981d74fcfa93a4f26b66 /posts/bash_harder_with_vim.md
parent8bb5ee06ad1670c34bf767cce48aaf94a5804881 (diff)
fix typos, dont expand posts
Diffstat (limited to 'posts/bash_harder_with_vim.md')
-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```