]> git.phdru.name Git - dotfiles.git/commitdiff
html.vim: Remove `</meta>`
authorOleg Broytman <phd@phdru.name>
Sat, 14 May 2022 12:14:03 +0000 (15:14 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 14 May 2022 12:14:03 +0000 (15:14 +0300)
.vim/ftplugin/html.vim

index 5549c67560abfd25afbf88aef71f08f02bf91f4a..87190ba8ea505231b545fe0c5059e7d8b0fe849b 100644 (file)
@@ -18,7 +18,7 @@ set shiftwidth=2 softtabstop=2
 if expand("%:t") == "bookmarks.html"
    setlocal textwidth=0
    call SetNoWrap()
-   nmap \h G6k6dd1G0
+   nmap \h :%s!</meta>!!<CR>G6k6dd1G0
 else
    setlocal textwidth=78
 endif