last VIM Command
How to use last Command in Linux VIM editor?
Explanation
last command is used to move the control to the last file.
Usage:
:last
Example:
- Open the files 'one.txt', 'two.txt', 'three.txt' and 'four.txt'
$ vim one.txt two.txt three.txt four.txt
- Vim displays the first file, 'one.txt'.
- Move the control to last file, 'four.txt' using the command
Enter :last