Created
April 23, 2012 23:09
-
-
Save davedash/2474435 to your computer and use it in GitHub Desktop.
vimrc snipped to add l10n to a highlighted string in Django
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
au Filetype htmldjango vnoremap <Leader>_ c{{ _('<C-r>"') }}<Esc> | |
au Filetype htmldjango noremap <Leader>_ vt<c{{ _('<C-r>"') }}<Esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment