Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vivify.vim

This plugin connects Vim and Neovim to the live markdown viewer Vivify.

Showcase

Features

  • open the current buffer's contents in Vivify with :Vivify
  • all open viewers automatically update their content as you are editing it in Vim
  • all open viewers automatically scroll to keep in sync with your cursor in Vim

Configuration

  • g:vivify_instant_refresh = 1
    • refresh page contents on TextChanged and TextChangedI (default)
  • g:vivify_instant_refresh = 0
    • refresh page contents on CursorHold and CursorHoldI
  • g:vivify_auto_scroll = 1
    • enable viewer auto-scroll (default)
  • g:vivify_auto_scroll = 0
    • disable viewer auto-scroll
  • g:vivify_filetypes
    • additional filetypes to recognize as markdown
    • for example let g:vivify_filetypes = ['vimwiki']

Installation

With Vivify installed in your PATH, you can install this plugin just like any other Vim plugin, e.g.

  • with Vim8's native plugin manager by adding it to your ~/.vim/pack/plugin/start (works best as a submodule of your dotfiles
  • with Plug: Plug jannis-baum/vivify.vim
  • with Lazy: { "jannis-baum/vivify.vim" }
  • ...

Nix

The plugin is available in nixpkgs-unstable as vimPlugins.vivify-vim. You can add it with Home Manager by adding it to:

  • programs.vim.plugins (for Vim)
  • programs.neovim.plugins (for Neovim)

About

Live Markdown viewer for Vim and Neovim powered by Vivify

Topics

Resources

Stars

Watchers

Forks

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.