diff options
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html index cba94e8..200faef 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -28,12 +28,16 @@ function showPost(id) { | |||
28 | <div class="post"> | 28 | <div class="post"> |
29 | <div class="date">31/07 2019</div> | 29 | <div class="date">31/07 2019</div> |
30 | <a href="#bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')">Bash Harder With Vim</a> | 30 | <a href="#bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')">Bash Harder With Vim</a> |
31 | <div id="bash_harder_with_vim.md" class="post-text" style="display: block"> | 31 | <div id="bash_harder_with_vim.md" class="post-text" style="display: none"> |
32 | <p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat | 32 | <p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat |
33 | addtions you could make to your <code>vimrc</code> for a better shell programming | 33 | additions you could make to your <code>vimrc</code> for a better shell programming |
34 | experience.</p> | 34 | experience.</p> |
35 | 35 | ||
36 | <p><strong>Man pages inside vim</strong>. Source this script to get started: </p> | 36 | <hr/> |
37 | |||
38 | <h4 id="Man%20pages%20inside%20vim">Man pages inside vim</h4> | ||
39 | |||
40 | <p>Source this script to get started: </p> | ||
37 | 41 | ||
38 | <pre><code>runtime ftplugin/man.vim | 42 | <pre><code>runtime ftplugin/man.vim |
39 | </code></pre> | 43 | </code></pre> |
@@ -46,7 +50,11 @@ and the ability to jump around with <code>Ctrl-]</code> and <code>Ctrl-T</code>. | |||
46 | <pre><code>let g:ft_man_open_mode = 'tab' | 50 | <pre><code>let g:ft_man_open_mode = 'tab' |
47 | </code></pre> | 51 | </code></pre> |
48 | 52 | ||
49 | <p><strong>Scratchpad to test your commands</strong>. I often test my <code>sed</code> substitutions, here is | 53 | <hr/> |
54 | |||
55 | <h4 id="Scratchpad%20to%20test%20your%20commands">Scratchpad to test your commands</h4> | ||
56 | |||
57 | <p>I often test my <code>sed</code> substitutions, here is | ||
50 | a sample from the script used to generate this site: </p> | 58 | a sample from the script used to generate this site: </p> |
51 | 59 | ||
52 | <pre><code># a substitution to convert snake_case to Title Case With Spaces | 60 | <pre><code># a substitution to convert snake_case to Title Case With Spaces |