Vim keyboard shortcuts

Vim  

Zeynel -
6 years ago
- Shortcuts

Note: We haven't included every command shortcut here, as some of them weren't looking like keyboard shortcuts but rather commands.

2
Esc

Gets out of the current mode into the “command mode”. All keys are bound of commands

1
I

Insert mode” for inserting text. Keys behave as expected

1
:

“Last-line mode”. In this mode, Vim expects you to enter a command such as to save the document

Advertisement

1
H

Move the cursor one character to the left

2
K

Move the cursor up one line

1
0

Move the cursor to the beginning of the line

2
G then G

Move to the beginning of the file

2
(

Jump to the previous sentence

1
)

Jump to the next sentence

1
I

Insert text before the cursor

1
D then D

Delete line

1
R

Replace characters instead of inserting them

1
Y then Y

Copy current line into storage buffer

2
P

Paste storage buffer after current line

1
P

Paste storage buffer before current line

1
~

Switch case

0
: then Q

Quits Vim but fails when file has been changed

0
: then W

Save the file

4
: then W then Q

Save the file and quit Vim

1
Z then Z

Write file, if modified, and quit Vim


Share this page on:
Is this page helpful?
2 1

Program information

Program name: Vim Vim (General)

Vim is a text editor, than can be used from a command line interface and as a standalone application in a graphical interface. It was originally released for Amiga but it has since been developed to be cross-platform.

Web page: http://www.vim.org

Last update: 2/3/2020 12:41 PM UTC

How easy to press shortcuts: 80%

More information >>

Shortcut count: 61

Platform detected: Windows or Linux

Similar programs



User operations

Add Vim to favorites

Add to favorites

Advertisement


What is your favorite Vim hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!