Repeating a command with the period key

Hitting period causes an action to take place again, kind of like an ampersand will perform a regular expression search and replace.

One example using the period to repeat an action is if you highlight a code block by positioning yourself on the first line of the block, then hitting shit + v and then pressing j until you get to the last line. This should highlight the lines. Then, anywhere in the highlighted block hit an angle, left or right, depending on which way you want to indent. This will indent the entire code block. Now hit the period any number of times, and it will repeat the indent as many times as you want. Hit u to undo if you go too far.

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.