Difference between revisions of "Vim keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
!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|| || || || || || || ||  
+
|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|| || || ||  
 
|-
 
|-
−
|style="background-color:#ffffcc;"|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|| || || || || ||0 (zero)|| ||Move to start of line

Revision as of 17:28, 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    
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