Vim Tips Wiki
Edit Page
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 4: Line 4:
 
|previous=711
 
|previous=711
 
|next=713
 
|next=713
|created=2004
+
|created=May 6, 2004
 
|complexity=basic
 
|complexity=basic
 
|author=David Fishburn
 
|author=David Fishburn
Line 12: Line 12:
 
|category2=
 
|category2=
 
}}
 
}}
Simply enable visual mode (v), highlight the characters you want inverted, and hit <code>\is</code>.
+
Simply enable visual mode (v), highlight the characters you want inverted, and hit <tt>\is</tt>.
   
For a single word you can use <code>vw</code> (or <code>viw</code>):
+
For a single word you can use <tt>vw</tt> (or <tt>viw</tt>):
 
<pre>
 
<pre>
 
viw\is
 
viw\is
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)