Vim Tips Wiki
Register
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 24: Line 24:
 
</pre>
 
</pre>
   
And I want to change the leading path, I can go to the first one, and type (say) c3t/anotherdir<Esc> This gives me:
+
And I want to change the leading path, I can go to the first one, and type (say) c3t/anotherdir&lt;ESC&gt; This gives me:
 
<pre>
 
<pre>
 
anotherdir/pick.c
 
anotherdir/pick.c
Line 36: Line 36:
 
I like that tip. I made something similar to the .
 
I like that tip. I made something similar to the .
 
<pre>
 
<pre>
:map <a-.> <Down>.
+
:map &lt;a-.&gt; &lt;down&gt;.
 
</pre>
 
</pre>
   
 
knowing this tip I will change it to
 
knowing this tip I will change it to
 
<pre>
 
<pre>
:map <a-.> `[<Down>.
+
:map &lt;a-.&gt; `[&lt;down&gt;.
 
</pre>
 
</pre>
   
Line 51: Line 51:
 
I use this to make changes to a visual block:
 
I use this to make changes to a visual block:
 
<pre>
 
<pre>
vnoremap <silent> . :normal .<CR>
+
vnoremap &lt;silent&gt; . :normal .&lt;CR&gt;
 
</pre>
 
</pre>
   
 
If you do something like this on a line:
 
If you do something like this on a line:
 
<pre>
 
<pre>
Aline ending<Esc>
+
Aline ending&lt;esc&gt;
 
</pre>
 
</pre>
   
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)