Skip to content

Instantly share code, notes, and snippets.

@voyeg3r
Created January 27, 2009 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voyeg3r/53429 to your computer and use it in GitHub Desktop.
Save voyeg3r/53429 to your computer and use it in GitHub Desktop.
mapeamentos vim HTML_PHP: para facilitar acentuacao
" HTML_PHP: para facilitar acentuacao
fun <SID>DefMapaAcentos()
imap ç &ccedil;
imap á &aacute;
imap é &eacute;
imap í &iacute;
imap ó &oacute;
imap ú &uacute;
imap ý &yacute;
imap â &acirc;
imap ê &ecirc;
imap î &icirc;
imap ô &ocirc;
imap û &ucirc;
imap ã &atilde;
imap ĩ &itilde;
imap õ &otilde;
imap ũ &utilde;
imap ñ &ntilde;
imap à &agrave;
imap è &egrave;
imap ì &igrave;
imap ò &ograve;
imap ù &ugrave;
imap ä &auml;
imap ë &euml;
imap ï &iuml;
imap ö &ouml;
imap ü &uuml;
imap Ç &Ccedil;
imap Á &Aacute;
imap É &Eacute;
imap Í &Iacute;
imap Ó &Oacute;
imap Ú &Uacute;
imap Ý &Yacute;
imap  &Acirc;
imap Ê &Ecirc;
imap Î &Icirc;
imap Ô &Ocirc;
imap Û &Ucirc;
imap à &Atilde;
imap Ĩ &Itilde;
imap Õ &Otilde;
imap Ũ &Utilde;
imap Ñ &Ntilde;
imap À &Agrave;
imap È &Egrave;
imap Ì &Igrave;
imap Ò &Ograve;
imap Ù &Ugrave;
imap Ä &Auml;
imap Ë &Euml;
imap Ï &Iuml;
imap Ö &Ouml;
imap Ü &Uuml;
endfun
au BufNewFile,BufRead *.php,*.html call <SID>DefMapaAcentos()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment