presenting.vim icon indicating copy to clipboard operation
presenting.vim copied to clipboard

Populate buffer list with slides

Open rafaelrinaldi opened this issue 9 years ago • 4 comments

Would be nice to have the slides available in the buffer list (following the slides order) so I can easily go to an specific slide whenever I want.

rafaelrinaldi avatar Mar 14 '16 03:03 rafaelrinaldi

Just to clarify how you can use this feature: :buffer <tab> allows you to auto-complete buffers.

Currently there is the SLIDE buffer which contains the current slide. The content is always replaced with the new slides.

You want _SLIDE_001, _SLIDE_002, etc? Do you want the header of the slide to be part of the buffer name?

sotte avatar Mar 14 '16 09:03 sotte

@sotte The behavior I would expect is to :ls and see all the slides of my presentation so I can :buf n quickly to switch between slides (we could maybe use the args list instead).

Also, having the slide name instead of _SLIDE_00n_ would be way better. I personally have no idea which slide a topic of my talk is at, so I would had to open each one of them separately.

rafaelrinaldi avatar Mar 14 '16 17:03 rafaelrinaldi

Sounds like a good feature. I'm a bit busy and can't implement it now but I'm more than happy to accept a pull request!

sotte avatar Mar 15 '16 09:03 sotte

@sotte I'm clueless about VimL but will give it a try as soon as I can!

Cheers.

rafaelrinaldi avatar Mar 15 '16 14:03 rafaelrinaldi