Skip to content

scrooloose/vim-slumlord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oh shit! Lock up your daughters it's ...

███████╗██╗     ██╗   ██╗███╗   ███╗██╗      ██████╗ ██████╗ ██████╗ 
██╔════╝██║     ██║   ██║████╗ ████║██║     ██╔═══██╗██╔══██╗██╔══██╗
███████╗██║     ██║   ██║██╔████╔██║██║     ██║   ██║██████╔╝██║  ██║
╚════██║██║     ██║   ██║██║╚██╔╝██║██║     ██║   ██║██╔══██╗██║  ██║
███████║███████╗╚██████╔╝██║ ╚═╝ ██║███████╗╚██████╔╝██║  ██║██████╔╝
╚══════╝╚══════╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═════╝ 

Introduction

Slumlord is built atop the wang-hardeningly awesome plantuml. It gives you a "live preview" of your UML diagrams when you save.

Demo

Installation

First you need Java installed.

Then, install this plugin with your favourite vim plugin manager.

For vundle, just stick this in your vimrc and smoke it:

Plugin 'scrooloose/vim-slumlord'

Then run :Vundle install

I also recommend installing the plantuml-syntax plugin as Slumlord uses this for its syntax file.

Plugin 'aklt/plantuml-syntax'

Usage

Edit a .uml file and enter some plantuml code. When you save it, a preview will be forcefully inserted/updated at the top of your file!

Note: I have only used this for sequence diagrams - the ASCII output of plantuml seems to be less than stellar for other diagram types.

About

Inline previews for Plantuml sequence diagrams. OMG!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published