AIX के vi के अपने आदेश हैं; इस जानकारी को ढूंढने में मुझे थोड़ी देर लग गई क्योंकि इस प्रश्न के उत्तरों में यह पहले से नहीं था, इसलिए मैं यह जवाब जोड़ूंगा।
न तो :p
, :N
, और न ही :prev
काम पिछले फाइल करने के लिए जाने के लिए, आप :n ---
आदेश के रूपांतरों से एक का उपयोग करने की आवश्यकता है।
:n
अगले फाइल करने के लिए जाने के लिए एक ही
उपयोग :n file_name
एक निश्चित फाइल करने के लिए स्थानांतरित करने के लिए (पिछले फ़ाइल पर जाने के लिए (नई फ़ाइलें इस तरह से भी खोल सकता है) है, बस पिछले के साथ ऐसा कर फ़ाइल के नाम
उपयोग :n list of file names
(संपादित करने के लिए इस मामले में, फ़ाइलों list
, of
, file
फ़ाइलों की एक नई सूची को परिभाषित करने के लिए, और names
:n list of file names
चलाने के बाद
:n
का उपयोग कर श्रृंखला में खोला किया जाएगा
आदमी पृष्ठों से अन्य उपयोगी परिणाम
:e File
Edits the specified file. If you are using this subcommand
from the ex editor, you do not need to type the : (colon).
:e!
Re-edits the current file and discards all changes.
:e + File
Edits the specified file starting at the end.
:e + Number File
Edits the specified file starting at the specified line number.
:e #
Edits the alternate file. The alternate file is usually the
previous file name before accessing another file with a
:e command. However, if changes are pending on the current
file when a new file is called, the new file becomes the
alternate file. This subcommand is the same as the Ctrl-A
subcommand.
Ctrl-G
Shows the current file name, current line number, number of
lines in the file, and percentage of the way through the
file where the cursor is located.
स्रोत
2017-11-10 16:34:31
धन्यवाद tialaramex :) – Dinesh
कुछ vi संपादक, है: पी काम नहीं करता। उपयोग करें: इसके बजाय – kingsmasher1