Giving a Text Based Slide Presentation in Vim without Plugins
In this video we'll add a few lines to our vimrc file so we can easily cycle between slides. We'll use Goyo too, but that's optional.
While preparing for a talk I’m giving soon about using the command line and terminal I wanted a quick and easy way to show text based slides within Vim.
After a bit of fiddling around, this was the end result. It’s a few lines of
code that can be dropped into your .vimrc
file and technically it requires no
plugins.
Although in this case I am using Goyo to make it look better. You can replicate what Goyo does without using it by setting a few stock vimrc options if you don’t want to use Goyo.
# Demo Video
Timestamps
- 0:31 – Doable without plugins but Goyo is nice to have
- 0:47 – Setting up your slides in a directory of
.vpm
files - 1:09 – Cycling between slides with the right and left arrow keys
- 1:49 – Configuring your vimrc to deliver text based slides
- 3:45 – That was deceptively easy but it works
Reference Links
- https://www.meetup.com/nyhackr/events/272727821/
- Direct link to vimrc slides snippet
- https://github.com/junegunn/goyo.vim
Are you going to give a talk using this method? Let us know below.