Ctrl + w + J VIM Command

How to use Ctrl + w + J Command in Linux VIM editor?

Explanation


Ctrl + w + J command is used to move the current window to bottom position in vim editor.

Usage:

Ctrl + w J

Example:

  • Open the 'one.txt' file
    $ vim one.txt
  • Open the file 'two.txt' in the split window
    Enter :split two.txt
  • Open the file 'three.txt' in the split window
    Enter :split three.txt
  • Now the cursor in 'three.txt' file
    Ctrl + w + J vim command
  • Now move the current window 'three.txt' to bottom position
    Press Ctrl+w J
    move window bottom

Ask Questions

Ask Question