Created
July 8, 2016 11:25
-
-
Save themadsens/0574c7e917c03b4329c912c874d835bb to your computer and use it in GitHub Desktop.
Vim visual u disaster prevention. For when you spent a few hours cleaning up the mess after an accidental 'u' that went unnoticed for a while (until build!) ..
This file contains 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
" Disaster prevention | |
vmap u <Esc> | |
vmap U <Esc> | |
vnoremap gu u | |
vnoremap gU U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment