-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from tuurep/add-vimdoc
Add initial vim help doc
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |