cap(^) VIM Command

How to use cap(^) Command in Linux VIM editor?

Explanation


Ctrl + ^ command is used to move the control to previously modified file in vim editor.

Usage:

Ctrl + ^

Example:

  • Open the files 'one.txt'
    $ vim one.txt
  • View the file 'two.txt' using the command
    Enter :view two.txt
    Ctrl + ^ Vim Command
  • Move back to the file, 'one.txt' using the command
    Enter Ctrl + ^
    Move control to previously modified file

Ask Questions

Ask Question