इसका मतलब है कि आदेश है कि आप :'<,'>
के बाद टाइप फ़ाइल है कि आपके द्वारा चुने गए की ओर से संचालित होगा।
उदाहरण के लिए, :'<,'>d
चयनित ब्लॉक को हटा देगा, जबकि :d
कर्सर के नीचे रेखा को हटा देता है।
इसी प्रकार, :'<,'>w fragment.txt
चयनित ब्लॉक को fragment.txt
नामक फ़ाइल में लिख देगा।
दो अल्पविराम से अलग चीजें ('<
और '>
) वे अंक हैं जो चयनित क्षेत्र की शुरुआत और अंत के अनुरूप हैं। सहायता पृष्ठ (:help '<
) से:
*'<* *`<*
'< `< To the first line or character of the last selected
Visual area in the current buffer. For block mode it
may also be the last character in the first line (to
be able to define the block). {not in Vi}.
*'>* *`>*
'> `> To the last line or character of the last selected
Visual area in the current buffer. For block mode it
may also be the first character of the last line (to
be able to define the block). Note that 'selection'
applies, the position may be just after the Visual
area. {not in Vi}.
जब इस तरह से इस्तेमाल किया, निशान बस (:help range
देखें) आदेश है कि इस प्रकार के लिए श्रेणी निर्दिष्ट करें। वे निश्चित रूप से मिश्रित और अन्य लाइन नंबर विनिर्देशकों के साथ मेल खा सकते हैं। उदाहरण के लिए, निम्न आदेश फ़ाइल के अंत में चयनित क्षेत्र के शुरू से ही सभी पंक्तियों को हटा दें होगा:
:'<,$d
विम विकी विम पर्वतमाला पर more information है।
अधिक अंतर्दृष्टि के लिए 'सहायता श्रेणी'। – Benoit