2012-02-07 12 views
18

मान लें कि आप दृश्य मोड में चयन करने के लिए विम का उपयोग कर रहे हैं। आपने v मारा, फिर एल के साथ दाईं ओर बढ़ना शुरू करें। फिर, मान लीजिए कि आप दाईं ओर बिंदु को बदले बिना, अपने चयन को बाईं ओर विस्तारित करना चाहते हैं। यही है, आप '> से संतुष्ट हैं लेकिन '< बदलना चाहते हैं।विम: रिवर्स विजुअल मोड परिप्रेक्ष्य

आप ऐसा कैसे स्वैप कि यह है कि जैसे कि आप '> पर शुरू कर दिया और बाईं ओर का चयन कर रहे हैं, को बदलने '<?

मेरे पास एक अस्पष्ट याद है जिसे मैंने पहले देखा है, लेकिन इसके लिए Google करना मुश्किल है।

उत्तर

19

ओह, अद्भुत कैसे stackoverflow को पढ़ने (एफ) के मैनुअल कि बहुत आसान बना सकते हैं ...

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

ग्रेट सवाल और उत्तर;) – lucapette

+3

ब्लॉकवाइज (आयताकार) चयन में पूंजी 'ओ' को मत भूलना, जो विकर्ण नहीं है:': मदद v_O'। – Benoit

5

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. 
संबंधित मुद्दे