Skip to content

Commit

Permalink
Merge pull request #11 from tuurep/add-vimdoc
Browse files Browse the repository at this point in the history
Add initial vim help doc
  • Loading branch information
jannis-baum authored Jul 25, 2024
2 parents c2d085b + 85c7166 commit 43a3d2b
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions doc/vivify.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
*vivify.txt* Markdown preview on the browser


INTRODUCTION *vivify*

Connects (Neo)Vim to the Vivify Markdown preview tool.
View and live-sync Markdown files while editing.


USAGE *vivify-usage*

Use the command :Vivify to open the current buffer in the browser.

You may also want to map it to a keybind, for example: >
nnoremap <leader>v <cmd>Vivify<cr>
<
Tip: to set a keybind for Markdown files only, add the mapping in your
|ftplugin| directory under markdown.vim as: >
nnoremap <buffer> <leader>v <cmd>Vivify<cr>
<

CONFIGURATION *vivify-configuration*

Refresh page contents on |TextChanged| and |TextChangedI| (default): >
let g:vivify_instant_refresh = 1
<
Refresh page contents on |CursorHold| and |CursorHoldI|: >
let g:vivify_instant_refresh = 0
<
To recognize other filetypes as markdown, use g:vivify_filetypes array,
for example: >
let g:vivify_filetypes = ['vimwiki']
<

CONTRIBUTING *vivify-contributing*

Bug reports, feature requests and questions welcome!

For this plugin:
https://github.com/jannis-baum/vivify.vim

For Vivify:
https://github.com/jannis-baum/Vivify


vim:tw=78:sw=4:ts=8:ft=help:norl:

0 comments on commit 43a3d2b

Please sign in to comment.