Difference between revisions of "Vim keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 13: Line 13:
 
!align="left" style="background-color:#ffffcc;"|Unit!! !!align="left"|Key!! !!align="left"|Function!! !!align="left"|Key!! !!align="left"|Function
 
!align="left" style="background-color:#ffffcc;"|Unit!! !!align="left"|Key!! !!align="left"|Function!! !!align="left"|Key!! !!align="left"|Function
 
|-
 
|-
−
|style="background-color:#ffffcc;"|Character||&nbsp;||l<br>&lt;Right-arrow&gt;||&nbsp;||Move one character backward||&nbsp;||h<br>&lt;Left-arrow&gt;||&nbsp;||Move one character forward
+
|style="background-color:#ffffcc;"|Character||&nbsp;||l or &rarr;||&nbsp;||Move one character backward||&nbsp;||h&larr;||&nbsp;||Move one character forward
 
|-
 
|-
 
|style="background-color:#ffffcc;"|Word||&nbsp;||w||&nbsp;||Move 1 word forward||&nbsp;||b||&nbsp;||Move one word backward
 
|style="background-color:#ffffcc;"|Word||&nbsp;||w||&nbsp;||Move 1 word forward||&nbsp;||b||&nbsp;||Move one word backward
 
|-
 
|-
−
|style="background-color:#ffffcc;"|Line||&nbsp;||j<br>&darr;||&nbsp;||Move to next line||&nbsp;||k<br>&uarr;||&nbsp;||Move to previous line
+
|style="background-color:#ffffcc;"|Line||&nbsp;||j or &darr;||&nbsp;||Move to next line||&nbsp;||k or &uarr;||&nbsp;||Move to previous line
 
|-
 
|-
 
|style="background-color:#ffffcc;"|Line||&nbsp;|| ||&nbsp;||Move to end of line||&nbsp;||0 (zero)||&nbsp;||Move to start of line
 
|style="background-color:#ffffcc;"|Line||&nbsp;|| ||&nbsp;||Move to end of line||&nbsp;||0 (zero)||&nbsp;||Move to start of line

Revision as of 17:53, 11 February 2018

Ressources to check

Movement (Normal mode)

    Forward   Backward
Unit   Key   Function   Key   Function
Character   l or →   Move one character backward   h←   Move one character forward
Word   w   Move 1 word forward   b   Move one word backward
Line   j or ↓   Move to next line   k or ↑   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