A Vim plugin for previewing flow diagram in a browser. It's inspired by 'xavierchow/vim-sequence-diagram' and flowchart.js.
- With Pathogen: Place
vim-flow-diagram/
in.vim/bundle/
. - With Vundle:
- Add
Plugin 'quafzi/vim-flow-diagram'
to your.vimrc
. - Launch
vim
and run:PluginInstall
- Add
This plugin only applies to files with .flow
file extension,
that means it has nearly no performance impact on other file types.
Note: Make sure you have renamed the file name with proper extension.
The default keymap is <leader>tf
, it brings up a browser window and shows the flow diagram for you.
You can also define your keymap in vimrc.
nmap <unique> <leader>t <Plug>GenerateFlowDiagram
MIT