aboutsummaryrefslogtreecommitdiff
path: root/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-02-09 04:54:03 +0000
committerAkshay <[email protected]>2020-02-09 04:54:03 +0000
commit359a92f770e621828e628f319290bb5736b1f67b (patch)
treec4c4e5168c22ac13cd62c2ee03ef1a4334aa10fc /docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
parent75c5c6044170bd6cc23502a6f40f15378269b3d1 (diff)
new styles, new post!
Diffstat (limited to 'docs/posts/get_better_at_yanking_and_putting_in_vim/index.html')
-rw-r--r--docs/posts/get_better_at_yanking_and_putting_in_vim/index.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
index 76d59be..1c77c44 100644
--- a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
+++ b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
@@ -10,6 +10,7 @@
10 <meta property="og:type" content="website"> 10 <meta property="og:type" content="website">
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png">
13 <title>Get Better At Yanking And Putting In Vim - peppe.rs</title> 14 <title>Get Better At Yanking And Putting In Vim - peppe.rs</title>
14 <body> 15 <body>
15 <div class="posts"> 16 <div class="posts">
@@ -39,23 +40,23 @@
39 <ol start="1"> 40 <ol start="1">
40<li><p>reselecting previously selected text (i use this to fix botched selections):</p> 41<li><p>reselecting previously selected text (i use this to fix botched selections):</p>
41 42
42<pre><code>gv &quot; :h gv for more 43<pre><code>gv &#34; :h gv for more
43 &quot; you can use `o` in visual mode to go to the `Other` end of the selection 44 &#34; you can use `o` in visual mode to go to the `Other` end of the selection
44 &quot; use a motion to fix the selection 45 &#34; use a motion to fix the selection
45</code></pre></li> 46</code></pre></li>
46<li><p>reselecting previously yanked text:</p> 47<li><p>reselecting previously yanked text:</p>
47 48
48<pre><code>`[v`] 49<pre><code>`[v`]
49`[ &quot; marks the beginning of the previously yanked text :h `[ 50`[ &#34; marks the beginning of the previously yanked text :h `[
50`] &quot; marks the end :h `] 51`] &#34; marks the end :h `]
51 v &quot; visual select everything in between 52 v &#34; visual select everything in between
52 53
53nnoremap gb `[v`] &quot; &quot;a quick map to perform the above 54nnoremap gb `[v`] &#34; &#34;a quick map to perform the above
54</code></pre></li> 55</code></pre></li>
55<li><p>pasting and indenting text (in one go):</p> 56<li><p>pasting and indenting text (in one go):</p>
56 57
57<pre><code>]p &quot; put (p) and adjust indent to current line 58<pre><code>]p &#34; put (p) and adjust indent to current line
58]P &quot; put the text before the cursor (P) and adjust indent to current line 59]P &#34; put the text before the cursor (P) and adjust indent to current line
59</code></pre></li> 60</code></pre></li>
60</ol> 61</ol>
61 62