Skip to content

Instantly share code, notes, and snippets.

@davedash
Created April 23, 2012 23:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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