Last active
November 5, 2015 04:16
-
-
Save TroyFletcher/a725bcf0bb7f88c2abbc to your computer and use it in GitHub Desktop.
Obfuscate text entry into vim by applying Rot13 live as you type
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
" Hide what you're typing in using rot13 live as you enter text | |
" Obviously, you need to type accurately since you can't see your entered text | |
" Use F3 to toggle plaintext view and review your work | |
map <F3> mmggg?G`m|"Toggle Rot13 on whole file in normal mode | |
imap <F3> <ESC>mmggg?G`ma|"Toggle Rot13 while in insert mode | |
inoremap a n | |
inoremap b o | |
inoremap c p | |
inoremap d q | |
inoremap e r | |
inoremap f s | |
inoremap g t | |
inoremap h u | |
inoremap i v | |
inoremap j w | |
inoremap k x | |
inoremap l y | |
inoremap m z | |
inoremap n a | |
inoremap o b | |
inoremap p c | |
inoremap q d | |
inoremap r e | |
inoremap s f | |
inoremap t g | |
inoremap u h | |
inoremap v i | |
inoremap w j | |
inoremap x k | |
inoremap y l | |
inoremap z m | |
inoremap A N | |
inoremap B O | |
inoremap C P | |
inoremap D Q | |
inoremap E R | |
inoremap F S | |
inoremap G T | |
inoremap H U | |
inoremap I V | |
inoremap J W | |
inoremap K X | |
inoremap L Y | |
inoremap M Z | |
inoremap N A | |
inoremap O B | |
inoremap P C | |
inoremap Q D | |
inoremap R E | |
inoremap S F | |
inoremap T G | |
inoremap U H | |
inoremap V I | |
inoremap W J | |
inoremap X K | |
inoremap Y L | |
inoremap Z M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment