Skip to content
vlide.vim, for presentations
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
doc
plugin
tests
.gitignore
.travis.yml
README.md
package.sh

README.md

About

Build Status

VLide.vim is a global plugin for interactive presentations.

vlide demo

Requirements

  • Vim 7.0+

Usage

VLide.vim allows you to use Vim as a presentation tool.

Slides are separated by:

  • ====================================================

Subslides by:

  • ----------------------------------------------------

Besides displaying content it can run commands and modify syntax highlighting per slide by using @blocks:

@autoexe{ vim: set tw=78 ts=8 ft=sh: }

@autoexe{sh}
    printf "%s\\n" "Hello world!"
@end

To move around, it maps the following keys:

Key Action
<Space> Next Slide
<Backspace> Previous Slide

Subslides

Slides separated by g:vlide_subslide_separator are automatically handled as steps of the main slide and displayed in order.


Subslide 1


Subslide 2


Subslide 3


vlide subslide demo

Tmux

A specially interesting use case is combining vlide.vim with tmux to launch interactive demo sessions. To get a glanse at this, execute the following command in a new terminal:

$ tmux kill-session -t vlide-demo; tmux new-session -s vlide-demo vim

Now type :VLideReferenceSlide 12 from the recently opened tmux session. You should see a <0> blinking a couple of times, if that's the case you've followed the procedure sucessfully, keep pressing <Space> in the new session to see the demo

vlide and tmux demo

See :h Vlide for more help.

Installation

Use your plugin manager of choice.

  • Vundle
    • Add Bundle 'javier-lopez/vlide.vim' to ~/.vimrc and run :BundleInstall
  • NeoBundle
    • Add NeoBundle 'javier-lopez/vlide.vim' to ~/.vimrc and run :NeoBundleInstall
  • vim-plug
    • Add Plug 'javier-lopez/vlide.vim' to ~/.vimrc and run :PlugInstall
  • Pathogen
    • git clone https://github.com/javier-lopez/vlide.vim ~/.vim/bundle/vlide.vim
  • Manual (simplest if you've never heard of vundle or pathogen), download the zip file generated from github and extract it to $HOME/.vim
    • mv vlide.vim*.zip $HOME/.vim && cd $HOME/.vim && unzip vlide.vim*.zip
    • Update the help tags from vim: :helpt ~/.vim/doc/

Inspiration and alternative plugins

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.