Difference between revisions of "Vi"
From MyWiki
(Created page with "'''Delete all white space till end of line''' :%s/ [ ]*$//") |
|||
Line 1: | Line 1: | ||
− | '''Delete all white space till end of line''' :%s/ [ ]*$// | + | '''Delete all white space till end of line''' :%s/ [ ]*$// <br> |
+ | <br> | ||
+ | [Control][b] - Move back one full screen<br> | ||
+ | [Control][f] - Move forward one full screen<br> | ||
+ | [Control][d] - Move forward 1/2 screen<br> | ||
+ | [Control][u] - Move back (up) 1/2 screen<br> |
Revision as of 12:23, 27 August 2014
Delete all white space till end of line :%s/ [ ]*$//
[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