Difference between revisions of "Vi"

From MyWiki
Jump to: navigation, search
Line 1: Line 1:
'''Delete all white space till end of line'''  :%s/ [ ]*$// <br>
+
'''Delete all white space till end of line'''  :%s/ *$//g <br>
 
<br>
 
<br>
 
[Control][b] - Move back one full screen<br>
 
[Control][b] - Move back one full screen<br>

Revision as of 08:33, 6 October 2014

Delete all white space till end of line  :%s/ *$//g

[Control][b] - Move back one full screen
[Control][f] - Move forward one full screen
[Control][d] - Move forward 1/2 screen
[Control][u] - Move back (up) 1/2 screen