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;<br>&darr; &downarrow; &DownArrow; &ShortDownArrow;
+
|style="background-color:#ffffcc;"|Line||&nbsp;||j<br>&darr;||&nbsp;||Move to next line||&nbsp;||k<br>&uarr;||&nbsp;||Move to previous line
−
&#x02193;
 
−
&#8595;||&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:52, 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
↓
  Move to next line   k
↑
  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