diff options
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..e800005 --- /dev/null +++ b/docs/index.html | |||
@@ -0,0 +1,83 @@ | |||
1 | |||
2 | <!DOCTYPE html> | ||
3 | <html lang=en> | ||
4 | <head> | ||
5 | <link rel=stylesheet href=../style.css> | ||
6 | <meta charset=UTF-8> | ||
7 | <title>n</title> | ||
8 | |||
9 | <script> | ||
10 | function showPost(id) { | ||
11 | let post = document.getElementById(id); | ||
12 | if (post.style.display == "none") { | ||
13 | post.style.display = "block"; | ||
14 | } else { | ||
15 | post.style.display = "none"; | ||
16 | } | ||
17 | } | ||
18 | |||
19 | </script> </head> | ||
20 | |||
21 | <body> | ||
22 | <div class=black-circle> | ||
23 | <h1 class=heading>n</h1> | ||
24 | </div> | ||
25 | <div class=posts> | ||
26 | |||
27 | |||
28 | <div class="post"> | ||
29 | <div class="date">30/07 2019</div> | ||
30 | <a href="#another_post_to_test_date.md" class="post-link" onClick="showPost('another_post_to_test_date.md')">Another Post To Test Date</a> | ||
31 | <div id="another_post_to_test_date.md" class="post-text" style="display: none"> | ||
32 | <p>this posts tests chronological arrangement of items</p> | ||
33 | <a href="#another_post_to_test_date.md" class="post-end-link" onClick="showPost('another_post_to_test_date.md')">↑ Collapse</a> | ||
34 | <div class=separator></div> | ||
35 | </div> | ||
36 | </div> | ||
37 | |||
38 | <div class="post"> | ||
39 | <div class="date">30/07 2019</div> | ||
40 | <a href="#z_is_the_latest_post.md" class="post-link" onClick="showPost('z_is_the_latest_post.md')">Z Is The Latest Post</a> | ||
41 | <div id="z_is_the_latest_post.md" class="post-text" style="display: none"> | ||
42 | <p>this is the latest post, | ||
43 | hope it shows up at the top</p> | ||
44 | <a href="#z_is_the_latest_post.md" class="post-end-link" onClick="showPost('z_is_the_latest_post.md')">↑ Collapse</a> | ||
45 | <div class=separator></div> | ||
46 | </div> | ||
47 | </div> | ||
48 | |||
49 | <div class="post"> | ||
50 | <div class="date">30/07 2019</div> | ||
51 | <a 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> | ||
52 | <div id="get_better_at_yanking_and_putting_in_vim.md" class="post-text" style="display: none"> | ||
53 | <ol> | ||
54 | <li><p>reselecting previously selected text (i use this to fix botched selections):</p> | ||
55 | |||
56 | <pre><code>gv " :h gv for more | ||
57 | " you can use `o` in visual mode to go to the `Other` end of the selection | ||
58 | " use a motion to fix the selection | ||
59 | </code></pre></li> | ||
60 | <li><p>reselecting previously yanked text:</p> | ||
61 | |||
62 | <pre><code>`[v`] | ||
63 | `[ " marks the beginning of the previously yanked text :h `[ | ||
64 | `] " marks the end :h `] | ||
65 | v " visual select everything in between | ||
66 | |||
67 | nnoremap gb `[v`] " "a quick map to perform the above | ||
68 | </code></pre></li> | ||
69 | <li><p>pasting and indenting text (in one go):</p> | ||
70 | |||
71 | <pre><code>]p " put (p) and adjust indent to current line | ||
72 | ]P " put the text before the cursor (P) and adjust indent to current line | ||
73 | </code></pre></li> | ||
74 | </ol> | ||
75 | <a href="#get_better_at_yanking_and_putting_in_vim.md" class="post-end-link" onClick="showPost('get_better_at_yanking_and_putting_in_vim.md')">↑ Collapse</a> | ||
76 | <div class=separator></div> | ||
77 | </div> | ||
78 | </div> | ||
79 | |||
80 | </div> | ||
81 | </body> | ||
82 | </html> | ||
83 | |||