Difference between revisions of "Vim keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 18: Line 18:
 
|style="background-color:#ffffcc;"|Line|| || || ||Move to next line|| || || ||Move to previous line
 
|style="background-color:#ffffcc;"|Line|| || || ||Move to next line|| || || ||Move to previous line
 
|-
 
|-
−
|style="background-color:#ffffcc;"|Line|| || || || || ||0 (zero)|| ||Move to start of line
+
|style="background-color:#ffffcc;"|Line|| || || ||Move to end of line|| ||0 (zero)|| ||Move to start of line
 
|-
 
|-
−
|style="background-color:#ffffcc;"|Sentence|| || || || || || || ||  
+
|style="background-color:#ffffcc;"|Sentence|| || || ||Move forward to end of sentence|| || || ||Move back to beginning of sentence
 
|-
 
|-
 
|style="background-color:#ffffcc;"|Document|| ||G|| ||Move to the end of the document|| ||gg|| ||Move to the start of the document
 
|style="background-color:#ffffcc;"|Document|| ||G|| ||Move to the end of the document|| ||gg|| ||Move to the start of the document

Revision as of 17:32, 11 February 2018

Links to check

Movement

    Forward   Backward
Unit   Key   Function   Key   Function
Character   l   Move one character backward   h   Move one character forward
Word   w   Move 1 word forward   b   Move one word backward
Line     Move to next line     Move to previous line
Line     Move to end of line   0 (zero)   Move to start of line
Sentence     Move forward to end of sentence     Move back to beginning of sentence
Document   G   Move to the end of the document   gg   Move to the start of the document