Vim

Save and quit

Write file, if modified, and quit Vim

Z then Z

All hotkeys for Vim

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

Esc

Insert text
Insert text before the cursor

I

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

:

Navigation keys
Move the cursor one character to the left

H

Navigation keys
Move the cursor down one line

J

Navigation keys
Move the cursor down one line

Ctrl + J

Navigation keys
Move the cursor up one line

K

Navigation keys
Move the cursor up one line

Ctrl + P

Navigation keys
Move the cursor one character to the right

L

Navigation keys
Move the cursor to the beginning of the line

0

Navigation keys
Move the cursor to the end of the line

$

Navigation keys
Move the cursor to the first non-empty character of the line

^

Navigation keys
Move forward one word (delimited by a white space)

W

Navigation keys
Move forward five words

5 then W

Navigation keys
Move backward one word (delimited by a white space)

B

Navigation keys
Move backward five words

5 then B

Navigation keys
Move to the end of the file

G

Navigation keys
Move to the beginning of the file

G then G

Navigate around the document
Jump to the previous sentence

(

Navigate around the document
Jump to the next sentence

)

Navigate around the document
Jump to the previous paragraph

{

Navigate around the document
Jump to the next paragraph

}

Navigate around the document
Jump to the previous section

[ then [

Navigate around the document
Jump to the next section

] then ]

Navigate around the document
Jump to the end of the previous section

[ then ]

Navigate around the document
Jump to the end of the next section

] then [

Insert text
Insert text at the end of the line

A

Insert text
Begin a new line above the cursor

O

Delete text
delete character at cursor

X

Delete text
Delete a word

D then W

Delete text
Delete to the beginning of a line

D then 0

Delete text
Delete to the end of a line

D then $

Delete text
Delete to the end of sentence

D then )

Delete text
Delete to the beginning of the file

D then G then G

Delete text
Delete to the end of the file

D then G

Delete text
Delete line

D then D

Delete text
Delete three lines

3 then D then D

Simple replace text
Replace characters instead of inserting them

R

Copy/Paste text
Copy current line into storage buffer

Y then Y

Copy/Paste text
Paste storage buffer before current line

P

Undo/Redo operation
undo the last operation

U

Undo/Redo operation
Redo the last undo

Ctrl + R

Modify selected text
Switch case

~

Modify selected text
Delete a word

D

Modify selected text
Change

C

Modify selected text
Yank

Y

Modify selected text
Shift right

>

Modify selected text
Shift left

<

Modify selected text
Filter through an external command

!

Save and quit
Quits Vim but fails when file has been changed

: then Q

Save and quit
Save the file

: then W

Save and quit
Save the file and quit Vim

: then W then Q

Save and quit
Quit Vim without saving the changes to the file

: then Q then !

Save and quit
Write file, if modified, and quit Vim

Z then Z

Save and quit
Same as :q! Quits Vim without writing changes

Z then Q

Similar combinations for other applications


Autodesk Revit
ZOOM IN REGION / Zooms to a region.
Navigation Bar

Z then Z


Blender
Z  Constrain local Z axis transform
General

Z then Z