search

Home  >  Q&A  >  body text

gvim - How does vim call browser preview?

Like the title, is there any similar plug-in or code method?

phpcn_u1582phpcn_u15822774 days ago1018

reply all(3)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 16:45:04

    nmap <silent> <leader>v :exec '!exec google-chrome %'<CR>

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 16:45:04

    vim-instant-markdown is a Vim plug-in that can preview markdown files in real time in the browser. It is implemented by using a nodeJS backend and curl. In theory, previews of other formats should also be supported, as long as corresponding support is provided in the back end.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 16:45:04

    A Personal Wiki For Vim Plugin: vimviki.

    After writing the text in lightweight markup language, use the following command:

    <Leader>whh

    vimwiki will generate the html file and then preview it in the browser.

    reply
    0
  • Cancelreply