- When using xshell or FinalShell tools, vim opens too many files and only part of them are displayed. For example, open the most common configuration files
profile
vim /etc/profile
Copy the code
- If you’re looking for a profile or something (you can also use Vim’s precision lookup command to quickly locate the character you’re looking for), you can move the cursor and scroll.
- The solution is to use
more
The command - The more command is similar to
cat
, but it is displayed page by page, which is more convenient for users to read page by page. The basic command is to press the blank key (space
) Just go to the next page and pressb
The bond will go backback
) a page display, and there is a search string function (withvi
Similar), please clickh
。 - Common keys:
- Space bar: View the next screen;
- Enter key: scroll down a line;
b
Key: view a screen ahead;q
Key: Exit.