Hacker News new | ask | show | jobs
by lloeki 462 days ago
The other day I had to conjure a presentation in short order.

I had a few code examples to massage out of a codebase, so I fired up vim to make them simpler/clearer before I'd put them in Keynote.

Then I started taking a few notes in a scratch buffer. After a few moments I began to dread having to move that content over and format in the UI and all.

... And then it dawned on me that I could just use vim itself as the presentation tool!

- one tab per slide, one file per tab

- gt/gT (:tabnext :tabprev) to move through

- ,z (junegunn/goyo :Goyo) for a "hudless" display

- splits and :terminal on live demo time

- ,b (junegunn/fzf.vim :Buffers) to jump to any "slide" on question time (just name files appropriately)

- prepare the whole thing and save session with :mksession