Difference between revisions of "Vim keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 14: Line 14:
 
|style="background-color:#ffffcc;"|Character|| ||l|| ||Move one character backward|| ||h|| ||Move one character forward
 
|style="background-color:#ffffcc;"|Character|| ||l|| ||Move one character backward|| ||h|| ||Move one character forward
 
|-
 
|-
−
|style="background-color:#ffffcc;"|Word|| ||w|| ||Move 1 word forward|| || || ||  
+
|style="background-color:#ffffcc;"|Word|| ||w|| ||Move 1 word forward|| ||b|| ||Move one word backward
 
|-
 
|-
 
|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

Revision as of 17:30, 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       0 (zero)   Move to start of line
Sentence        
Document   G   Move to the end of the document   gg   Move to the start of the document