Here is my html file already edited,there are two errors in it.

<!DOCTYPE html>
<html lang="zh-Hans">
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="   " />
    <nav>6 navs</nav

1.not <nav>6 navs</nav but <nav>6 navs</nav>
2.not <div>work/div> but <div>work</div>

How to choose the two errors automatically with vim command or some plugins?
How to fix it ,enclosed it automatically after locating the position?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.