wnext VIM Command
How to use wnext Command in Linux VIM editor?
Explanation
wnext command is used to move the control from saved file to the next file after saving the changes in the current file. As the same we can use :wprevious command also.
Usage:
:wnext
Example:
- Open the files 'one.txt' and 'two.txt'
$ vim one.txt two.txt
- Vim displays the first file.

- Move the control from saved file to the next file using the command.
Enter :wnext