Skip to content

Instantly share code, notes, and snippets.

@davedash
Created April 23, 2012 23:09
Show Gist options
  • Save davedash/2474435 to your computer and use it in GitHub Desktop.
Save davedash/2474435 to your computer and use it in GitHub Desktop.
vimrc snipped to add l10n to a highlighted string in Django
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