Vim Tips Wiki
(Add subpage to TipProposed to fix link)
(Change <tt> to <code>, perhaps also minor tweak.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
{{TipNew
{{TipProposed
 
|id=0
+
|id=1584
|previous=0
+
|previous=1583
|next=0
+
|next=1585
|created=February 16, 2008
+
|created=2008
 
|complexity=basic
 
|complexity=basic
 
|author=Metacosm
 
|author=Metacosm
 
|version=7.0
 
|version=7.0
 
|subpage=/200802
 
|subpage=/200802
  +
|category1=Getting started
  +
|category2=
 
}}
 
}}
  +
{{todo}}
  +
*Make this a ''simple'' introduction to visual selection.
  +
*Move ''some'' of content of following to here (with a link to here):
  +
**[[VimTip312|312 Copy, cut and paste]]
  +
**[[VimTip344|344 Cut or copy lines without counting the lines]]
  +
**[[VimTip386|386 Cut/copy and paste using visual selection]]
  +
  +
==Reselect a visual block==
  +
{{anchor|MetaCosm ReselectVisualBlock}}
 
Did you just do something on a visual range, and to your horror the visual block vanished?
 
Did you just do something on a visual range, and to your horror the visual block vanished?
   
Just hit '''gv''' and it will be reselected.
+
Just type <code>gv</code> to reselect the last block.
   
 
==Comments==
 
==Comments==
 
----
 

Latest revision as of 06:36, 13 July 2012

Tip 1584 Printable Monobook Previous Next

created 2008 · complexity basic · author Metacosm · version 7.0


 TO DO 

Reselect a visual block[]

Did you just do something on a visual range, and to your horror the visual block vanished?

Just type gv to reselect the last block.

Comments[]