Learn Docker With My Newest Course

Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →

Giving a Text Based Slide Presentation in Vim without Plugins

blog/cards/giving-a-text-based-slide-presentation-in-vim-without-plugins.jpg

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.

Quick Jump: Demo Video

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

Are you going to give a talk using this method? Let us know below.

Never Miss a Tip, Trick or Tutorial

Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per month (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.



Comments