Created
June 9, 2012 13:30
-
-
Save tcmacdonald/2900977 to your computer and use it in GitHub Desktop.
VIM: Repeat Edit Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. # last edit (magic dot) | |
:& # last substitute | |
:%& # last substitute every line | |
:%&gic # last substitute every line confirm | |
g% # normal mode repeat last substitute | |
g& # last substitute on all lines | |
@@ # last recording | |
@: # last command-mode command | |
:!! # last :! command | |
:~ # last substitute | |
:help # repeating | |
; # last f, t, F or T | |
, # last f, t, F or T in opposite direction | |
n # last / or ? search | |
N # last / or ? search in opposite direction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment