Ctrl + w + K VIM Command
How to use Ctrl + w + K Command in Linux VIM editor?
Ctrl + w + K command is used to move the current window to top position in vim editor.
Ctrl + w K
- 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
- Move the cursor to 'one.txt' file
- Now move the current window to top position
Press Ctrl + W + K