2012-02-07 23 views
18

Görsel modda seçmek için vim kullandığınızı varsayalım. v'a bastıktan sonra l ile sağa hareket etmeye başlayın. Ardından, seçiminizi sağdaki noktayı değiştirmeden sola uzatmak istediğinizi varsayalım. Yani, '> ile tatmin oldunuz, ancak '<'u değiştirmek istiyorsunuz.Vim: görsel mod perspektifini tersine çevirme

'>'dan başlayıp '<'u değiştirerek sola dönecek şekilde nasıl takas edersiniz?

Bunu daha önce gördüğüm belirsiz bir hatırlatma var, ancak google için zor.

cevap

19

Üzgünüz, dokümantasyon Buradan ... (F) kitabını çok daha kolay okuma yapabilir

3. Changing the Visual area    *visual-change* 

          *v_o* 
o   Go to Other end of highlighted text: The current 
      cursor position becomes the start of the highlighted 
      text and the cursor is moved to the other end of the 
      highlighted text. The highlighted area remains the 
      same. 
+1

Büyük soruya ve Cevap;) – lucapette

+3

Köşe (dikdörtgen) seçiminde, köşegen gitmeyen “O” sermayesini unutma: ': help v_O'. – Benoit

5

o

StackOverflow'daki gönderme şaşırtıcı nasıl:

o   Go to Other end of highlighted text: The current 
      cursor position becomes the start of the highlighted 
      text and the cursor is moved to the other end of the 
      highlighted text. The highlighted area remains the 
      same. 
İlgili konular