if has("iconv") " Try to recognize the file encoding and convert the file let encoding = system("get_html_encoding.py " . QuoteFilename(expand("%"))) if !v:shell_error if strlen(encoding) != 0 call SetupEncoding(encoding) endif endif endif if expand("%:t") == "bookmarks.html" setlocal textwidth=0 call SetNoWrap() nmap ,6 G6k6dd1G0 else setlocal textwidth=75 endif setlocal matchpairs+=<:> " Add brokets to the list of pairs that match for the '%' command syntax on