aboutsummaryrefslogtreecommitdiff
path: root/docs/index.html
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-08-02 16:36:34 +0100
committerNerdyPepper <[email protected]>2019-08-02 16:36:34 +0100
commit5b68373e9b08b5ab60d59985dff55ab238a635ca (patch)
tree5b45157fe5dbca1c824ff7595268a920711b28ca /docs/index.html
parent72d2018f04f55cb9b7b86652e3d1738873cf1095 (diff)
fix anchors [episode 2]
Diffstat (limited to 'docs/index.html')
-rw-r--r--docs/index.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/index.html b/docs/index.html
index c087a9b..e1cf5ca 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -14,6 +14,12 @@
14<title>n</title> 14<title>n</title>
15 15
16<script> 16<script>
17function gotoId() {
18 if ( window.location.hash ) {
19 let hash = window.location.hash.substring(1);
20 showPost(hash);
21 }
22}
17function showPost(id) { 23function showPost(id) {
18 let post = document.getElementById(id); 24 let post = document.getElementById(id);
19 if (post.style.display == "none") { 25 if (post.style.display == "none") {
@@ -22,10 +28,9 @@ function showPost(id) {
22 post.style.display = "none"; 28 post.style.display = "none";
23 } 29 }
24} 30}
25
26</script> </head> 31</script> </head>
27 32
28<body> 33<body onload="gotoId()">
29<h1 class="heading">n</h1> 34<h1 class="heading">n</h1>
30 35
31 36
@@ -34,7 +39,7 @@ function showPost(id) {
34 39
35 <div class="post"> 40 <div class="post">
36 <div class="date">02/08 2019</div> 41 <div class="date">02/08 2019</div>
37 <a id="post-onivim_sucks.md" href="#post-onivim_sucks.md" class="post-link" onClick="showPost('onivim_sucks.md')">Onivim Sucks</a> 42 <a id="post-onivim_sucks.md" href="#onivim_sucks.md" class="post-link" onClick="showPost('onivim_sucks.md')" >Onivim Sucks</a>
38 <div id="onivim_sucks.md" class="post-text" style="display: none"> 43 <div id="onivim_sucks.md" class="post-text" style="display: none">
39 <p><a href="https://v2.onivim.io">Onivim</a> is a &#8216;modern modal editor&#8217;, combining fancy 44 <p><a href="https://v2.onivim.io">Onivim</a> is a &#8216;modern modal editor&#8217;, combining fancy
40interface and language features with vim-style modal editing. What&#8217;s wrong you 45interface and language features with vim-style modal editing. What&#8217;s wrong you
@@ -64,7 +69,7 @@ final price! If you are on the lookout for an editor, I would suggest using
64 69
65 <div class="post"> 70 <div class="post">
66 <div class="date">31/07 2019</div> 71 <div class="date">31/07 2019</div>
67 <a id="post-bash_harder_with_vim.md" href="#post-bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')">Bash Harder With Vim</a> 72 <a id="post-bash_harder_with_vim.md" href="#bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')" >Bash Harder With Vim</a>
68 <div id="bash_harder_with_vim.md" class="post-text" style="display: none"> 73 <div id="bash_harder_with_vim.md" class="post-text" style="display: none">
69 <p>Bash is tricky, don&#8217;t let your editor get in your way. Here&#8217;s a couple of neat 74 <p>Bash is tricky, don&#8217;t let your editor get in your way. Here&#8217;s a couple of neat
70additions you could make to your <code>vimrc</code> for a better shell programming 75additions you could make to your <code>vimrc</code> for a better shell programming
@@ -131,7 +136,7 @@ Press ENTER or type command to continue
131 136
132 <div class="post"> 137 <div class="post">
133 <div class="date">30/07 2019</div> 138 <div class="date">30/07 2019</div>
134 <a id="post-hold_position!.md" href="#post-hold_position!.md" class="post-link" onClick="showPost('hold_position!.md')">Hold Position!</a> 139 <a id="post-hold_position!.md" href="#hold_position!.md" class="post-link" onClick="showPost('hold_position!.md')" >Hold Position!</a>
135 <div id="hold_position!.md" class="post-text" style="display: none"> 140 <div id="hold_position!.md" class="post-text" style="display: none">
136 <p>Often times, when I run a vim command that makes &#8220;big&#8221; changes to a file (a 141 <p>Often times, when I run a vim command that makes &#8220;big&#8221; changes to a file (a
137macro or a <code>:vimgrep</code> command) I lose my original position and feel disoriented.</p> 142macro or a <code>:vimgrep</code> command) I lose my original position and feel disoriented.</p>
@@ -161,7 +166,7 @@ heavier filtering.</p>
161 166
162 <div class="post"> 167 <div class="post">
163 <div class="date">30/07 2019</div> 168 <div class="date">30/07 2019</div>
164 <a id="post-get_better_at_yanking_and_putting_in_vim.md" href="#post-get_better_at_yanking_and_putting_in_vim.md" class="post-link" onClick="showPost('get_better_at_yanking_and_putting_in_vim.md')">Get Better At Yanking And Putting In Vim</a> 169 <a id="post-get_better_at_yanking_and_putting_in_vim.md" href="#get_better_at_yanking_and_putting_in_vim.md" class="post-link" onClick="showPost('get_better_at_yanking_and_putting_in_vim.md')" >Get Better At Yanking And Putting In Vim</a>
165 <div id="get_better_at_yanking_and_putting_in_vim.md" class="post-text" style="display: none"> 170 <div id="get_better_at_yanking_and_putting_in_vim.md" class="post-text" style="display: none">
166 <ol> 171 <ol>
167<li><p>reselecting previously selected text (i use this to fix botched selections):</p> 172<li><p>reselecting previously selected text (i use this to fix botched selections):</p>