Difference between revisions of "Vim keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 17: Line 17:
 
|style="background-color:#ffffcc;"|Word|| ||w|| ||Move 1 word forward|| ||b|| ||Move one word backward
 
|style="background-color:#ffffcc;"|Word|| ||w|| ||Move 1 word forward|| ||b|| ||Move one word backward
 
|-
 
|-
−
|style="background-color:#ffffcc;"|Line||&nbsp;||j<br>&lt;Down-arrow&gt;||&nbsp;||Move to next line||&nbsp;||k<br>&lt;Up-arrow&gt;||&nbsp;||Move to previous line
+
|style="background-color:#ffffcc;"|Line||&nbsp;||j<br>&lt;Down-arrow&gt;<br>&downarrow;||&nbsp;||Move to next line||&nbsp;||k<br>&lt;Up-arrow&gt;||&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:50, 11 February 2018

Ressources to check

Movement (Normal mode)

    Forward   Backward
Unit   Key   Function   Key   Function
Character   l
<Right-arrow>
  Move one character backward   h
<Left-arrow>
  Move one character forward
Word   w   Move 1 word forward   b   Move one word backward
Line   j
<Down-arrow>
&downarrow;
  Move to next line   k
<Up-arrow>
  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