Shortcut
Vim Move Down or Up a Line Shortcut
The Vim shortcut to move down or up a line is j / k on Windows. It's the same on Mac.
Quick Answer
- Windows
- j/k
- Mac
- j/k
- Web
- Not confirmed yet
VimShortcut
Move Down or Up a Line
Moves the cursor one line at a time.
How to move down or up a line in Vim
- Open Vim and go to where you want to move down or up a line.
- Press j / k on Windows or j / k on Mac.
Vim Move Down or Up a Line Shortcut for Windows
Press j / k.
Vim Move Down or Up a Line Shortcut for Mac
Press j / k.
Vim Move Down or Up a Line Shortcut for Vim Web
We haven't confirmed a Vim Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Vim move down or up a line shortcut?
On Windows, press j / k. On a Mac, press j / k.
Is there a Mac shortcut to move down or up a line in Vim?
Yes: j / k.
Does it work in Vim for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify