" Try to recognize the file encoding and convert the file
let encoding = system("get_html_encoding.py " . shellescape(expand("%")))
if !v:shell_error
- if strlen(encoding) != 0
+ if !empty(encoding)
call SetupEncoding(encoding)
endif
endif
if expand("%:t") == "bookmarks.html"
setlocal textwidth=0
call SetNoWrap()
- nmap \h G6k6dd1G0
+ nmap \h :%s!</meta>!!<CR>G6k6dd1G0
else
setlocal textwidth=78
endif