================================= Vim keyboard shortcuts (filtered) ================================= First published at 2/8/2018 on https://defkey.com/vim-text-editor-shortcuts 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. General ------- Esc Gets out of the current mode into the “command mode”. All keys are bound of commands I “Insert mode” for inserting text. Keys behave as expected : “Last-line mode”. In this mode, Vim expects you to enter a command such as to save the document Navigation keys --------------- H Move the cursor one character to the left K Move the cursor up one line 0 Move the cursor to the beginning of the line G then G Move to the beginning of the file Navigate around the document ---------------------------- ( Jump to the previous sentence ) Jump to the next sentence Insert text ----------- I Insert text before the cursor Delete text ----------- D then D Delete line Simple replace text ------------------- R Replace characters instead of inserting them Copy/Paste text --------------- Y then Y Copy current line into storage buffer P Paste storage buffer after current line P Paste storage buffer before current line Modify selected text -------------------- ~ Switch case Save and quit ------------- : then Q Quits Vim but fails when file has been changed : then W Save the file : then W then Q Save the file and quit Vim Z then Z Write file, if modified, and quit Vim Last modified on (UTC): Monday, February 3, 2020 Defkey © All rights reserved.