aboutsummaryrefslogtreecommitdiff
path: root/docs/posts/bash_harder_with_vim
diff options
context:
space:
mode:
Diffstat (limited to 'docs/posts/bash_harder_with_vim')
-rw-r--r--docs/posts/bash_harder_with_vim/index.html31
1 files changed, 7 insertions, 24 deletions
diff --git a/docs/posts/bash_harder_with_vim/index.html b/docs/posts/bash_harder_with_vim/index.html
index 17c066a..7c9e5d6 100644
--- a/docs/posts/bash_harder_with_vim/index.html
+++ b/docs/posts/bash_harder_with_vim/index.html
@@ -2,6 +2,7 @@
2<html lang="en"> 2<html lang="en">
3 <head> 3 <head>
4 <link rel="stylesheet" href="/style.css"> 4 <link rel="stylesheet" href="/style.css">
5 <link rel="stylesheet" href="/syntax.css">
5 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
6 <meta name="viewport" content="initial-scale=1"> 7 <meta name="viewport" content="initial-scale=1">
7 <meta content="#ffffff" name="theme-color"> 8 <meta content="#ffffff" name="theme-color">
@@ -37,27 +38,7 @@
37 Bash Harder With Vim 38 Bash Harder With Vim
38 </h1> 39 </h1>
39 <div class="post-text"> 40 <div class="post-text">
40 <!DOCTYPE html> 41 <p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat additions you could make to your <code>vimrc</code> for a better shell programming experience.</p>
41<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
42<head>
43 <meta charset="utf-8" />
44 <meta name="generator" content="pandoc" />
45 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
46 <title>bash_harder_with_vim</title>
47 <style>
48 code{white-space: pre-wrap;}
49 span.smallcaps{font-variant: small-caps;}
50 span.underline{text-decoration: underline;}
51 div.column{display: inline-block; vertical-align: top; width: 50%;}
52 div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
53 ul.task-list{list-style: none;}
54 </style>
55 <!--[if lt IE 9]>
56 <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
57 <![endif]-->
58</head>
59<body>
60<p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat additions you could make to your <code>vimrc</code> for a better shell programming experience.</p>
61<h3 id="man-pages-inside-vim">Man pages inside vim</h3> 42<h3 id="man-pages-inside-vim">Man pages inside vim</h3>
62<p>Source this script to get started:</p> 43<p>Source this script to get started:</p>
63<pre><code>runtime ftplugin/man.vim</code></pre> 44<pre><code>runtime ftplugin/man.vim</code></pre>
@@ -91,13 +72,15 @@ w | so %
91<pre><code>$ vim 72<pre><code>$ vim
92New Post # output 73New Post # output
93Press ENTER or type command to continue</code></pre> 74Press ENTER or type command to continue</code></pre>
94</body>
95</html>
96 75
97 </div> 76 </div>
98 77
99 <div class=intro> 78 <div class=intro>
100 Hi. <a href=https://peppe.rs/index.xml class=feed-button>Subscribe</a> 79 Hi.
80 <div class=hot-links>
81 <a href=https://peppe.rs/index.xml class=feed-button>Subscribe</a>
82 <a href=https://liberapay.com/nerdypepper/donate class=donate-button>Donate</a>
83 </div>
101 <p>I'm Akshay, I go by nerd or nerdypepper on the internet.</p> 84 <p>I'm Akshay, I go by nerd or nerdypepper on the internet.</p>
102 <p> 85 <p>
103 I am a compsci undergrad, Rust programmer and an enthusiastic Vimmer. 86 I am a compsci undergrad, Rust programmer and an enthusiastic Vimmer.