Slides presentation in your Neovim.
Neovim >= 0.5.0
Slides
use {
'notashelf/slides.nvim',
config = function ()
require'slides'.setup{}
end
}
-- default config
require'slides'.setup{
bin = 'slides' -- path to binary
fullscreen = true -- open in fullscreen
}
Open current file
:Slides
:Slides [path/to/file.md]
Create a mapping:
-- 'n' = normal mode
vim.api.nvim_set_keymap('n', "<leader>s", ":Slides<CR>", {silent = true, noremap = true})
use q
or ctrl + c
to close slide